Skip to content

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

    • About
    • DEV Tools
  • CRM 2011

    Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011

    Published by

    Rajeev Pentyala

    on

    December 26, 2011

    Hi, You may come across the below exception while generating wrapper classes using “crmsvcutil.exe” tool which comes along with CRM SDK. Could not load file or assembly ‘Microsoft.IdentityModel Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find specified Reason :-         The reason for this error could be the machine…

    Continue reading →: Could not load file or assembly ‘Microsoft.IdentityModel’ exception on wrapper class generation in CRM 2011
  • CRM 2011

    “Could not open a connection to SQL Server” error while installing CRM 2011 Server

    Published by

    Rajeev Pentyala

    on

    December 21, 2011

    Hi, You may come across below exception while installing CRM 2011 Server. “Named Pipes Provider, error: 40 – Could not open a connection to SQL Server “ Scenario :- You have a standalone machine “VM 1”, with SQL Server 2008  application You have another machine “VM 2”, where you are trying to install “CRM Server” by…

    Continue reading →: “Could not open a connection to SQL Server” error while installing CRM 2011 Server
  • CRM 2011, JScript

    JScript validation on Activation/Deactivation of record in CRM 2011

    Published by

    Rajeev Pentyala

    on

    December 13, 2011

    Hi, We can perform JScript validation on Activation or Deactivation of  a record in CRM 2011. We can achieve this by reading event save mode from CRM context (i.e.,CRM returns unique Codes or Numbers for different actions; Example 5 for Deactivation button click & 6 for Activation click). Note :-  CRM 2011 JScript allows us to…

    Continue reading →: JScript validation on Activation/Deactivation of record in CRM 2011
  • CRM, CRM 2011

    Hide left navigation items pane on form in CRM 2011

    Published by

    Rajeev Pentyala

    on

    December 12, 2011

    Hi, We can Hide the “Navigation items” pane on the CRM form using simple form customization. Open CRM form customization screen Click on “Form Properties” button in  “Form” tab Go to “Display” tab and uncheck “Show navigation items” (Refer screen below) Save & Publish After this setting “Open” the form and you will…

    Continue reading →: Hide left navigation items pane on form in CRM 2011
  • CRM, CRM 2011

    Types of services in CRM 2011

    Published by

    Rajeev Pentyala

    on

    November 29, 2011

    Hi, Below are 3 main services that developers can use to extend the Dynamics CRM 2011 platform Deployment Web Service Using this service we can Create or import organizations Enable and Disable organizations Add deployment administrators Configure IFD and Claims-based authentication 2.Discovery Web service Using this service we can Identify the…

    Continue reading →: Types of services in CRM 2011
  • CRM, CRM 2011, CRM 4.0, JScript

    Email format validation in CRM

    Published by

    Rajeev Pentyala

    on

    October 27, 2011

    Hi, The out of the box CRM Email field type does not validate whether the given email is ending with “.com”,”.in”,etc… (Refer below) rajeevpentyala@live  (Its a valid email format as per out of the box CRM Email Type validation) We can validate all the metrics of Email format by using below steps. Step 1:-…

    Continue reading →: Email format validation in CRM
  • CRM 2011, JScript

    Hide or Show Tabs & Navigation Items of CRM form in CRM 2011

    Published by

    Rajeev Pentyala

    on

    October 27, 2011

    Hi, Below is the JScript to Show or Hide Tabs and Navigation Items on CRM form //Set “true” to Hide and “false” to show the Tab/Navigation item Xrm.Page.ui.tabs.get(“tab_name”).setVisible(true/false); Xrm.Page.ui.navigation.items.get(“navigationlink_name”).setVisible(true/false); Note :- We can get the ‘Tab’ name, from the Form customization We can get the “Navigation link” name using the IE developer…

    Continue reading →: Hide or Show Tabs & Navigation Items of CRM form in CRM 2011
  • CRM 2011, Plug-Ins

    Activate or Deactivate record in CRM 2011

    Published by

    Rajeev Pentyala

    on

    October 18, 2011

    Hi, We can Activate\Deactivate record using “SetStateRequest“. Below is the code snippet. private void SetEntityStatus(IOrganizationService service, Guid recordGUID, string entityName)        { SetStateRequest setState = newSetStateRequest(); setState.EntityMoniker = newEntityReference(); //Pass GUID of the record to be activated or Deactivated setState.EntityMoniker.Id = recordGUID; setState.EntityMoniker.Name = entityName; setState.EntityMoniker.LogicalName = entityName; //Setting ‘State’ i.e., (0 – Active ; 1 – InActive)…

    Continue reading →: Activate or Deactivate record in CRM 2011
  • CRM, CRM 2011, CRM 4.0, JScript

    Set field values using query string parameters on Form load in CRM

    Published by

    Rajeev Pentyala

    on

    October 11, 2011

    Hi, I have got below requirement,  I need to open a CRM form from my custom ‘.aspx’ page. On opening of the form I should populate “name” field with value After referring MSDN article, I came to know that we can set the field values using “extraqs” query string parameter and it must meet below…

    Continue reading →: Set field values using query string parameters on Form load in CRM
  • CRM, CRM 2011, JScript

    Execute the workflow from JScript In CRM

    Published by

    Rajeev Pentyala

    on

    October 2, 2011

    Hi, We can run the CRM workflows from JScript, if we know the GUID of the workflow. Below are the execution steps. Steps :- Get the GUID of workflow from name using OData Service  (i.e., Using GetWorkflowIDByName(wfName) function ) Execute the Workflow using the GUID (i.e., Using TriggerWorkflow(workflowGuid) function) Below are the JScript…

    Continue reading →: Execute the workflow from JScript In CRM
Previous Page Next Page
Visitors

2,152,118 hits

Top Posts
Getting Started: Build Your First Power Apps Code AppGetting Started: Build Your First Power Apps Code AppAugust 27, 2025Rajeev Pentyala
Claude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeClaude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeFebruary 5, 2026Rajeev 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