-
Continue reading →: The maximum array length quota has been exceeded – Error in WCF service
Hi, I was getting below exception when I call a WCF service from my plug – in There was an error deserializing the object of type XYZ. The maximum array length quota (16384) has been exceeded while reading XML data Below was my requirement, I have to send emails with…
-
Continue reading →: “Query execution time exceeded the threshold” error in Plugins
Hi, In one of my requirement I was accessing SSRS service API from my plugin to render and read the report When the plugin execute the code, I was neither getting the expected result nor any error. To troubleshoot the problem I open the event viewer and I got a…
-
Continue reading →: Reading sub grid records using jscript in CRM 2011
Hi, In CRM 2011, we can show the related records in parent record form using sub grids. For example below is ‘Contacts’ sub grid on ‘Account’ form We can get the records count and read the cell values of sub grid using below script. function getSubGridDetails() { // Set subgrid…
-
Continue reading →: Retrieve multiple records synchronously using OData & JQuery in CRM 2011
Hi, Below is the Jscript function to retrieve multiple records synchronously using OData & JQuery. function retrieveMultipleSync(odataSetName, select, filter) { var serverUrl = Xrm.Page.context.getServerUrl(); var ODATA_ENDPOINT = “/XRMServices/2011/OrganizationData.svc”; var odataUri = serverUrl + ODATA_ENDPOINT + “/” + odataSetName + “?”; if (select) { odataUri += “$select=” + select ; }…
-
Continue reading →: System.InvalidOperationException while running Device Registration tool – CRM 2011 online
Hi, When I was trying to generate Device “ID” and “Password” using the command “deviceregistration.exe /operation:Register”, I got below error Unhandled Exception: System.InvalidOperationException: There is an error in XML document (5, 5). —> System.Security.Cryptography.CryptographicException: The parameter is incorrect Reason :- When you run the “deviceresistration.exe”, it creates new “LiveDevice.xml” file under…
-
Continue reading →: Report cannot be displayed – rsProcessingAborted
Hi, This is the most common error we get when you run a custom report from CRM. Though there could be many reasons below are the ways to know the reason for issue To debug:- Connect to the machine where your SSRS server installed and open the event viewer Run –> eventvwr…
-
Continue reading →: Adding components to solution programmatically in CRM 2011
Hi, We can add components to the solution programmatically by passing Component meta data id component type Solution unique name to “AddSolutionComponentRequest“. Lets say, I have a solution named “Rajeev” in my organization. Below is the code to add a component (i.e.,. Account entity) using IOrganization service this.credentials =…
-
Continue reading →: Limitation of OData End Point – Setting Activity Parties
Hi, In one of my requirement, I had to create an “Appointment” record programmatically using Jscript by populating field ‘required attendees’ (i.e., ActivityParty) to it. I followed below steps to complete the requirement Created the “Appointment” record first Added 2 contacts as “Required Attendees” to Appointment, for which I used below code…


