dynamics-crm,dynamics-crm-2015 , WHat are “neglected cases” in a new organization?

WHat are “neglected cases” in a new organization?


Tag: dynamics-crm,dynamics-crm-2015

I've created a new organization on CRM 2015 and everything went dandy. Then, I attempted to create an additional one on the server and got the error listed below.

What on Earth are "neglected cases" in a new organization?

16:10:44| Error| System.Exception: Publishing CRM reports failed. ---> Microsoft.Crm.CrmException: Could not publish report 'Neglected Cases' due to the following error: An error occurred while trying to add the report to Microsoft Dynamics CRM. Try adding the report again. If this problem persists, contact your system administrator. ---> Microsoft.Crm.CrmReportingException: An error occurred while trying to add the report to Microsoft Dynamics CRM. Try adding the report again. If this problem persists, contact your system administrator. ---> System.Web.Services.Protocols.SoapException: Error while loading code module: ‘Microsoft.Crm.Reporting.RdlHelper, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Details: Could not load file or assembly 'Microsoft.Crm.Reporting.RdlHelper, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Crm.ReportingServices2005.ReportingService2005.CreateReport(String Report, String Parent, Boolean Overwrite, Byte[] Definition, Property[] Properties) at Microsoft.Crm.Reporting.RuntimeReportServer.UploadReport(String path, Byte[] reportDefinition, String name, String description, Boolean overwriteExistingReport) --- End of inner exception stack trace --- at Microsoft.Crm.Reporting.RuntimeReportServer.UploadReport(String path, Byte[] reportDefinition, String name, String description, Boolean overwriteExistingReport) at Microsoft.Crm.Reporting.RuntimeReportServer.UploadReport(SRSReport report, String reportNameOnSrs, String name, String description, Boolean isSharedReport, Boolean overwriteExistingReport) at Microsoft.Crm.ObjectModel.ReportServiceInternal1.UploadSRSReport(Guid reportId, String reportNameOnSrs, String name, String description, SRSReport srsReport, ExecutionContext context, Boolean isCustomReport, Boolean overwriteExistingReport) at Microsoft.Crm.ObjectModel.ReportServiceInternal1.CreateInternal(IBusinessEntity entity, Boolean isScheduledReport, ExecutionContext context) at Microsoft.Crm.Reporting.ReportPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId, Boolean isProvisioning) at Microsoft.Crm.Reporting.ReportSetupPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId, Boolean isProvisioning) at Microsoft.Crm.Reporting.ReportPublisher.UploadReport(String reportFolder, String reportName, String fileName, String description, Int32 languageCode, Int32[] categoriesArray, Int32[] relatedEntitiesArray, Int32[] visibilitiesArray, Object parentId, Guid signatureId, Version version, Guid organizationId, Hashtable reportsPublished, String reportNameOnSrs, Boolean isProvisioning) at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress, Boolean isProvisioning) --- End of inner exception stack trace --- at Microsoft.Crm.Reporting.ReportSetupPublisher.OnPublishFail(Exception exception, String message) at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress, Boolean isProvisioning) at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.UploadReports(String orgUniqueName, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress) at Microsoft.Crm.Tools.Admin.RSPublishAction.PublishReports(String organizationUniqueName) at Microsoft.Crm.Tools.Admin.RSPublishAction.Do() at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo) --- End of inner exception stack trace ---, Error, AbortRetryIgnore, Option1 16:10:51| Info| InputResult: Ignore 16:10:51| Info| CrmAction execution time; RSPublishAction; 00:00:34.6283317 16:10:51| Error| Installer Complete: OrganizationCreator - Error encountered 16:10:51| Info| Setting organization state. New state = Enabled 16:10:51| Info| Found the older table DBUpdateInstallInfo_V5, updating new table and deleting 16:10:51| Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 7.0.0000.3543.


Neglected Cases is the name of a standard report that is published when you are creating a new organization (this report shows cases that have not been processed within a given time).

When you create a new CRM organization, the standard reports are published. The interesting detail about your error is this line:

Could not load file or assembly 'Microsoft.Crm.Reporting.RdlHelper'

It seems to me your installation is corrupt. Did you install the "Microsoft Dynamics CRM Reporting Extensions" on the SQL/Reporting server?


Dynamic CRM : Need to update Connection entities via API

I have created connection via API through below code(Dynamics Crm: creating Connection entities via API Entity connection = new Entity("connection"); connection["record1id"] = new EntityReference("contact", someContactId); connection["record1objecttypecode"] = new OptionSetValue(2); connection["record1roleid"] = new EntityReference("connectionrole", someConnectionRoleId); connection["record2id"] = new EntityReference("incident", someCaseId); connection["record2objecttypecode"] = new OptionSetValue(122); connection["record2roleid"] = new...

How do I use the custom publisher prefix when creating a new entity field in CRM 2013?

I need to create a new field on a custom entity in a Microsoft Dynamics CRM 2013 solution. When I create the field the name is prefixed with an static "new_". I can see that there is a default publisher with this prefix and a custom one with another prefix....

How to Execute an Operation Outside of a Plugin Transaction in Dynamics CRM

I have a Trace entity in my CRM system, and I want to insert records for that entity regardless of whether or not a plugin or workflow activity fails. When real-time plugin/workflow fails, all the data operations that have happened are rolled back, so any inserted Trace records are also...

Deserializing Settings Stored As JSON In CRM Web Resource

I've added some configuration data as JSON in a Web Resource in CRM. When I attempt to deserialize it in a C# plugin I have to first decode the Base 64 string, and then I have to encode the UTF bytes. I've done this before outside of CRM and haven't...

Facebook Graph API(Version 2.3) publish event on a page from CRM plugin/wflow using C#/JS

In FB Graph API version 1 we had written a plugin and some js which used to push details of our campaign record in CRM to a predefined FB page as an event. Now in Version 2.3 the publishing endpoint is missing from the GRAPH api.(events) My questions are 1)...

“An unexpected error ocurred” CRM2015 OnPremise Plugins

For 2 weeks we have been experiencing a small totally random issue with plugins in CRM 2015 OnPremise. When we make an upload, randomly and without much sense (at least according to analyze all code does not) plugins are throwing us the following exception: The Web Service plug-in failed in...

Workflow to send an email to the users within the record is shared

I am using Microsoft Dynamics CRM 2015 on-premise version. I created a custom entity(News). The use of this entity: the system administrator can share records(News) with selected System users. My question: How to send Email Notification (to selected users) on Record Sharing?...

htm file doesn't loaded with query string

I'm trying to get a query string from htm file. But when I'm writing a "?param=1" in the end of the .htm url - the file not loaded and I don't see anything in this page - The error I get is: "Incorrect document syntax". When I'm opened this url...

CRM 2015 Outlook Plugin error

I am getting the following when trying to install the CRM 2015 plugin for Outlook: I have Outlook 2010 32 bit version installed and I downloaded the 32 bit version of the CRM 2015 Outlook plugin. thanks, Stephen...

How do I read an attribute below in CRM 2011 using javascript?

I am looking for the most simplest way of writing javascript code to read an attribute(s) from the fetch xml given below. I have bumped into very complex ways of doing it. Can you suggest a quick and efficient way of doing it. <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="bch_delegate">...

OnSave event on a custom entity form in CRM 2015 enters in a recursive trigger

I have an event registered onSave on form of a custom entity on a crm 2015 on premise organization, which seems to enter in a recursive call. After i hit save the event keeps call it self, until i kill IE through task manager or the IE crashes with memory...

How to connect to CRM 2015 on-premise from a Siverlight App without depending on the Context?

I'm creating a Silverlight application that should retrieve data from the CRM. I tried the tutorial here but I failed to debug my application in Visual Studio due to the invalidity of the Context when GetServerBaseUrl is called Uri serviceUrl = CombineUrl(GetServerBaseUrl(), "/XRMServices/2011/Organization.svc/web"); I understand that I can connect to...

Do I need Windows Server 2012 and VS 2012 or 2013 to write plugins for MS CRM 2015?

I've been asked to take a look at some of our current plugins and alter them for our upgrade to 2015. However, looking at the SDK it says the system requirements (see here) are Windows Server 2012 (and 8, but not relevant for me) and Visual Studio 2012 or 2013....

Linq query gives me ambigious invocation error on the select statement

building a query to return workflows that are in the waiting status and are related to a certain entity... When I try to write the select statement in my linq query, I get the error "Ambigious invocation" on the select statement. I'm not sure exactly what it means. Here is...

How to refresh page after dialog has completed?

I'm running a dialog (the workflow-ish one, not a custom, modal window) on Customer and during the process, an instance of a related entity Project is created. All the related instances of Project are displayed in a subgrid on the Contact form. The problem is that the most recently added...

Bulk Edit Products in CRM 2015

On Product entity views, I am not able to Edit multi-selected Products in CRM 2015 Online. Also tried by keeping the Products in Active as well as in Draft mode. Is is supposed to be like this? Kindly help. Thanks....

CRM 2011 HTML web resource does not work in IE11

CRM 2011 html web resource is failing in IE11 with the error "Unable to get property 'CrmUrlEncode' of undefined or null reference". The same web resource works perfectly in IE 10 and less. The above error is triggering from the method context().getClientUrl() of XrmServiceToolkit (the codeplex library version 2.1). The...

List Entity Relationships in Dynamics CRM 2013/2015

Is it possible to return a list of relationships on a particular type of entity (not an individual record) using the CRM/XRM SDK? For example, if I have an entity called "Case" and I need to see if it has a relationship with "MyCustomEntity" is it possible to query the...

CRM 2015 and Silverlight

I've previously created a Silverlight application for CRM-2011 and there has been samples for Silverlight in the CRM-2011 SDK. However, I installed CRM 2015 SDK and I couldn't find any sample codes for Silverlight, does it no longer support silverlight ? If it still supports it, how can i create...

jQuery ajax data.d undefined

I am trying to get CRM data using the Ajax call. Data is being returned with 'd' and 'result' properties but I can't get it on client side. It says ajaxdata.d is undefined. A sample Ajax call: var context = Xrm.Page.context; var serverUrl = context.getClientUrl(); var ODATA_ENDPOINT = context.prependOrgName("/xRMServices/2011/OrganizationData.svc"); var...

CRM Advanced Find all the icons in wrong place

I've just loaded up the advanced find and I cant click on half the icons/drop downs as they are all in the wrong place. It works fine on other servers and other machines. It appears as if its a CSS problem. Any Ideas ...

In CRM 2011 how to create a record and associate it in the same ExecuteMultipleRequest

I'm struggling to find a way to use the ExecuteMultipleRequest to create a record and associate it to other records at the same time. So far I've only been successful in first creating the record, and then in another request set up my associations. With this code it throws an...

Crm 2013 + To remove comma from Whole Number field

I have a field on my form of type "Whole Number". I want to remove comma from the field and display simple number. I know there exists a System Setting to remove comma however it will apply to all the fields i want to do it one only my current...

Microsoft Dynamics CRM performance issue on client side

I am new at the company and we have CRM2011 deployed on the sites and we have agents using our CRM system. On Weekly basis, end users complain that the CRM is running slow on the clients computers. I am beginning to learn about CRM and don't konw much about...

Is it possible to add and configure Dynamics CRM workflows with Powershell

Is it possible to deploy a managed solution to Microsoft Dyanamics CRM 2013/2015 with plugin assemblies via the UI, then use a PowerShell script to add workflows, and steps?

Microsoft dynamics crm learning using azure virtual machines

I want to learn basics of dynamics crm 2011 and 2013. I have MS azure subscription where I do have access to Dynamics CRM virtual machines. These virtual machines have the following flavors for Dynamics CRM GP 2013 Developer GP 2013 R12 NAV 2015 GP 2015 Which one of the...

Install CRM 2015 SDK on Visual Studio 2013

I know that this is not an appropriate question for here. But I've looked everywhere, and cannot find an appropriate solution. What im trying to do is install CRM 2015 SDK on to Visual Studio 2013, to develop plugins, web resources etc.. I know its a stupid question , but...

Open Silverlight web resource from a button in Navigation

I need to a add a button to the navigation or ribbon area of the CRM 2015 on-premise. This button should open an existing Silverlight web resource. Is that possible ? EDIT: This MSDN article mentions that the URL holds a value of a URL or an HTML web resource,...

Configuring a picklist in CRM Online 2015

We currently have a CRM Dyanmics 4.0 system and as part of our Account Entity we have a field new_accountstatus with the following set up: Schema Display Name: Account Status Name: new_accountstatus Requirement Level: No Constraint Searchable: Yes Description: "V1.0" Type Type: Picklist Overdiew 2. Active 3. Suspended 4.De-Energise 5.Terminated...

How To Remove Display Rule From a Ribbon Command in CRM Online?

I have a command for a button defined as follows: <CommandDefinition Id="new.lead.CreditCheck.Command"> <EnableRules> <EnableRule Id="new.lead.CreditCheck.EnableRule" /> </EnableRules> <DisplayRules> <DisplayRule Id="new.lead.CreditCheck.DisplayRule" /> </DisplayRules> <Actions> <JavaScriptFunction FunctionName="new.LeadDynamic.creditCheck" Library="$webresource:new_Lead_dyn.js" /> </Actions> </CommandDefinition> If I go and remove the Display Rule from the command,...

CRM plugin execution of operations before Exception

I have a plugin that needs to create a bunch of entities, and does so using; service.Create(Entity); At the end of the plugin (pre-operation on Update, synchronous) I sometimes need to cancel the save operation. The only way I know how is to throw an exception, but if I do...

How to deploy a utility DLL that is used by plugins?

I've entered a project that used the architecture where all the utility classes were stored in the same project as the plugin. That's fine as long as there's only a few plugins with different utilities. I noticed, however, that as the number of plugins has grown, many of the individual...

Restart or no Restart after config file change

I have to make a small change to a SQL server config file (http://www.msbicoe.com/post/2013/05/06/SSRS-2012-Report-Server-cannot-load-the-TERADATASQLPDW-Extension-Error.aspx). Do I need to restart the server in order for the changes to be made or will it be fine without? Determines if I have to wait till an appropriate time to take the server down...

How does a user enable another language than the default, base one?

I went to settings and attempted to change the language in which my user will view the GUI. However, as the image depicts, there was no other choices than the base language, set by default. If that'd be an on-prem environment, I'd try installing a language pack (and, potentially, take...

Authenticate with login.microsoftonline.com through PHP cURL (SSL connect error)

I am trying to extract data from a Micorosft Dynamics CRM 2015 with PHP. From various sources i learned that i had to start with an authentication with login.microsoftonline.com. I am sending an XML request using cURL that results in a SSL connect error. The XML request: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"...

Change “Opportunities” button name in navigation pane using Site Map

Is it possible that using the SiteMap to change the name of the Opportunity button that appears in the Sales navigation pane to any custom name instead of "Opportunities" ? Or this is a fixed name based on the name of the entity ? ...

Dynamics CRM 2011 Plugin Deploy Error

I'm developing a custom plugin for CRM. When I deploy plugin to CRM on Virtual PC, I get the error below. Error registering plugins and/or workflows. Legacy plugin steps are only supported in Pre-validation and Post-operation stages How can I resolve this error ?...

Most efficient (& fastest) way to query a list

I'm trying to work out the most performant way to query a list. I know that there are a ton of examples out there and this has come up loads before, but I'm really new to this and I'm struggling with how to apply some of the concepts to my...

In CRM 2011, best way to send information from javascript to plugins

I have an HTML web resource on a CRM 2011 form that users will be entering data into. This data will be required by CRM create/update plugins if the user chooses to save the main form, but there is no functional requirement that the data needs to be saved to...

Microsoft Dynamics CRM: Export solution from 2015 to 2013

Is it possible to export a solution from CRM 2015 (7.0) to CRM 2013 (6.1)? Instructions I've found online say there's a step to choose target version in the export wizard but it doesn't appear for me.

Modify a button label in dynamics crm

In my associated view pages of some entities, i want to modify some button labels. For masculine noun entities I want to have: Ajouter une nouveau "NameOfEntity" and for feminine noun entities I want to have: Ajouter une nouvelle "NameOfEntity" how can i change the button label, knowing it is...

Filtering instances not related to the current contact

I have a custom entity Stuff and it contains a lookup to Contact. I created a 1:N relation with the latter as primary and the former as related entity. On the Contact's form I added a subgrid and I only wish to list the instances of Stuff that have the...

Debugging a Dynamics CRM Plug-in

I'm having trouble debugging a Dynamics CRM Online (2015) plug-in (C#). I'm following the instructions on this MSDN article to attach to a process. In the Attach To Process window, I select "Show processes from all users" and refresh. However, I don't see any of the four service processes listed...