Skip to content

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

    • About
    • DEV Tools
  • CRM 2011, Misc

    The maximum array length quota has been exceeded – Error in WCF service

    Published by

    Rajeev Pentyala

    on

    June 9, 2012

    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 →: The maximum array length quota has been exceeded – Error in WCF service
  • CRM 2011, Plug-Ins

    “Query execution time exceeded the threshold” error in Plugins

    Published by

    Rajeev Pentyala

    on

    June 3, 2012

    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 →: “Query execution time exceeded the threshold” error in Plugins
  • CRM 2011, JScript

    Reading sub grid records using jscript in CRM 2011

    Published by

    Rajeev Pentyala

    on

    June 2, 2012

    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 →: Reading sub grid records using jscript in CRM 2011
  • CRM 2011, JScript

    Retrieve multiple records synchronously using OData & JQuery in CRM 2011

    Published by

    Rajeev Pentyala

    on

    May 27, 2012

    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 →: Retrieve multiple records synchronously using OData & JQuery in CRM 2011
  • CRM 2011, JScript

    Loading dependent jscript libraries in ribbon button’s execution CRM 2011

    Published by

    Rajeev Pentyala

    on

    May 23, 2012

    Hi, I have a ribbon button on my “Account” main grid . I am calling function “sayHello” which is in my web resource “account_ribbon” by defining custom action like below. <Actions> <JavaScriptFunction Library=”$webresource:account_ribbon” FunctionName=”sayHello”> </JavaScriptFunction> </Actions> Now the problem is, I need to call another method from my “sayHello” function,…

    Continue reading →: Loading dependent jscript libraries in ribbon button’s execution CRM 2011
  • CRM 2011, JScript

    Hide/Show sections using JScript in CRM 2011

    Published by

    Rajeev Pentyala

    on

    May 20, 2012

    Hi, We can’t directly hide or show the section using Xrm.Page.ui.controls.get(“{section_name}”).setVisible(true/false) You have to first get the “Tab” control of your “Section”. Below is the script to Hide/Show sections     // Get the Tab which contains your Section var tabCtrl = Xrm.Page.ui.tabs.get(“{tab_name}”); if (tabCtrl && tabCtrl.sections.get(“{section_name}”)) { tabCtrl.sections.get(“{section_name}”).setVisible(true/false); } You can…

    Continue reading →: Hide/Show sections using JScript in CRM 2011
  • CRM 2011

    System.InvalidOperationException while running Device Registration tool – CRM 2011 online

    Published by

    Rajeev Pentyala

    on

    May 18, 2012

    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 →: System.InvalidOperationException while running Device Registration tool – CRM 2011 online
  • CRM 2011, SSRS

    Report cannot be displayed – rsProcessingAborted

    Published by

    Rajeev Pentyala

    on

    May 12, 2012

    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 →: Report cannot be displayed – rsProcessingAborted
  • CRM 2011

    Adding components to solution programmatically in CRM 2011

    Published by

    Rajeev Pentyala

    on

    May 6, 2012

    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 →: Adding components to solution programmatically in CRM 2011
  • CRM 2011, JScript

    Limitation of OData End Point – Setting Activity Parties

    Published by

    Rajeev Pentyala

    on

    May 2, 2012

    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…

    Continue reading →: Limitation of OData End Point – Setting Activity Parties
Previous Page Next Page
Visitors

2,152,610 hits

Top Posts
Claude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeClaude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeFebruary 5, 2026Rajeev Pentyala
Getting Started: Build Your First Power Apps Code AppGetting Started: Build Your First Power Apps Code AppAugust 27, 2025Rajeev Pentyala
Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'March 15, 2026Rajeev Pentyala

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

  • Pinterest
  • Instagram
  • Facebook
  • Mail
    • About
    • DEV Tools

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
    • Join 480 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar

Notifications