<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Atif</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/atif/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/atif/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:16:30 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>IE Zoom Level Settings in correlation with Microsoft Dynamics CRM Performance Issue</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/ie-zoom-level-settings-in-correlation-with-microsoft-dynamics-crm-performance-issue</link>
      <pubDate>Fri, 31 Aug 2012 16:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/08/31/ie-zoom-level-settings-in-correlation-with-microsoft-dynamics-crm-performance-issue/</guid>
      <description><![CDATA[While working on Microsoft Dynamics CRM client side performance issues, I found that sometimes when...]]></description>
      <content:encoded><![CDATA[<p>While working on Microsoft Dynamics CRM client side performance issues, I found that sometimes when the CRM users opens the CRM application from the web client, then open any out of box, or the custom entity record and then navigate through the various tabs within the form, users observed a sudden spike in the C.P.U&nbsp;of their client machine, and the whole system works very slow.</p>
<p>This may or may not be the case for all the CRM users who are accessing the CRM application from their client machine using IE. This is a clue that there is a setting within the client machine that is causing this type of performance issue for the CRM users.</p>
<p>After looking into this behavior in more details and after verifying some more isolation steps including the Antivirus settings, group policy, IE version, default IE settings and many more, I found that this type of performance is&nbsp;caused by&nbsp;the <b>Zoom Level </b>setting of&nbsp;IE, which is not set to its default value (100%). After charging this value to its default value (100%), there was no performance issue for the users.</p>
<p><b>Note:</b> Resetting or Restoring the IE settings to its default value does not take care of this specific setting&nbsp;in IE.</p>
<p><strong>Reference:</strong>&nbsp;<a href="http://technet.microsoft.com/en-us/library/hh204512.aspx">http://technet.microsoft.com/en-us/library/hh204512.aspx</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/1234.zoom.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/1234.zoom.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/1234.zoom.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/1234.zoom.png" width="550" height="323" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>CRM 4.0: DELETE statement conflicted with the REFERENCE constraint “FK__SystemUse__UserI__7755B73D"</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/crm-4-0-delete-statement-conflicted-with-the-reference-constraint-fk__systemuse__useri__7755b73d</link>
      <pubDate>Tue, 28 Feb 2012 14:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/02/28/crm-4-0-delete-statement-conflicted-with-the-reference-constraint-fk__systemuse__useri__7755b73d/</guid>
      <description><![CDATA[While working in Microsoft Dynamics CRM 4.0, I found that SQL job...]]></description>
      <content:encoded><![CDATA[<p>While working in Microsoft Dynamics CRM 4.0, I found that SQL job &ldquo;MSCRM_CONFIG.HardDelete&rdquo; was failing with following error message:</p>
<p><span style="background-color: #ffff00;"><em>The DELETE statement conflicted with the REFERENCE constraint "FK__SystemUse__UserI__7755B73D". The conflict occurred in database "MSCRM_CONFIG", table "dbo.SystemUserAuthentication", column 'UserId'. [SQLSTATE 23000] (Error 547)&nbsp; The statement has been terminated. [SQLSTATE 01000] (Error 3621). The step failed.</em></span></p>
<p>When I looked into the SQL job properties, I found that it was executing a SQL Stored Procedure exec p_hardDelete :</p>
<p></p>
<p><br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4034.1.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4034.1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4034.1.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4034.1.png" width="563" height="273" /></a></p>
<p></p>
<p>This SQL Stored Procedure is located under Programmability in the MSCRM_CONFIG database:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4300.2.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4300.2.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4300.2.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4300.2.png" width="547" height="465" /></a></p>
<p>&nbsp;</p>
<p>When I looked into this stored procedure, I found the following SQL script:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0042.3.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0042.3.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0042.3.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0042.3.png" /></a></p>
<p>If you look into the order of the script you will find:</p>
<p><span style="background-color: #ffff00;">DELETE FROM SystemUser WHERE IsDeleted = 1 ---- <span style="background-color: #00ff00;">Parent Table. Will error out due to FK constraint defined in below child table (SystemUserAuthentication)</span></span></p>
<p><span style="background-color: #ffff00;">DELETE FROM SystemUserAuthenticationProperties WHERE Id IN (SELECT Id FROM SystemUserAuthentication WHERE IsDeleted = 1)</span></p>
<p><span style="background-color: #ffff00;">DELETE FROM SystemUserAuthentication WHERE IsDeleted = 1</span></p>
<p></p>
<p>We can modify this script to make it error free by changing the order as follows:</p>
<p><span style="background-color: #ffff00;">DELETE FROM SystemUserAuthenticationProperties WHERE Id IN (SELECT Id FROM SystemUserAuthentication WHERE IsDeleted = 1)</span></p>
<p><span style="background-color: #ffff00;"></span><span style="background-color: #ffff00;">DELETE FROM SystemUserAuthentication WHERE IsDeleted = 1</span></p>
<p><span style="background-color: #ffff00;"><b>DELETE FROM SystemUser WHERE IsDeleted = 1</b><b></b></span></p>
<p>After changing the order of the SQL stored procedure exec p_hardDelete , the SQL job &ldquo;MSCRM_CONFIG.HardDelete&rdquo; will execute &nbsp;without any error message.</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Dynamics CRM: Length of LOB data (152644) to be replicated exceeds configured maximum 65536.</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/microsoft-dynamics-crm-length-of-lob-data-152644-to-be-replicated-exceeds-configured-maximum-65536</link>
      <pubDate>Mon, 27 Feb 2012 15:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/02/27/microsoft-dynamics-crm-length-of-lob-data-152644-to-be-replicated-exceeds-configured-maximum-65536/</guid>
      <description><![CDATA[Symptoms:
When you track E-mails in Microsoft Dynamics CRM Outlook Client you receive the following...]]></description>
      <content:encoded><![CDATA[<p><span style="text-decoration: underline;"><b>Symptoms:</b></span></p>
<p>When you track E-mails in Microsoft Dynamics CRM Outlook Client you receive the following error messages: <br /><br /><b>User Interface Error:</b><br /><br /><i>"A SQL Server error occurred. Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community lbr solutions or contact your organization&rsquo;s Microsoft Dynamics CRM Administrator. Finally, you can contact Microsoft Support".</i><br /><span style="text-decoration: underline;"><br /></span><span style="text-decoration: underline;"><b>Platform Error: </b></span><br /><br /><i>CRM Exception: Message: ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException: Length of LOB data (152644) to be replicated exceeds configured maximum 65536.</i></p>
<p><span style="text-decoration: underline;"><b>Cause:</b></span></p>
<p>These error messages occurs when SQL Replication is enabled for Microsoft Dynamics CRM databases and you attempt to insert into a text, ntext, or image column that is published in a replication article.</p>
<p><span style="text-decoration: underline;"><b>Resolution:</b></span></p>
<p>To resolve these error messages take full backup of all ORG_MSCRM and MSCRM_CONFIG databases and run the below query:<br /><br /><i>sp_configure 'max text repl size', 2147483647 </i><br /><i>Go </i><br /><i>RECONFIGURE</i><br /><i>GO</i><br /><br /><b>Note: </b>The setting takes effect immediately without a SQL server restart.</p>
<p><span style="text-decoration: underline;"><b>More Information:</b></span></p>
<p>&lsquo;<b>max text repl size&rsquo;</b>&nbsp;option specify the maximum size (in bytes) of&nbsp;text,&nbsp;ntext,&nbsp;varchar(max),&nbsp;nvarchar(max),varbinary(max),&nbsp;xml, and&nbsp;image&nbsp;data that can be added to a replicated column or captured column in a single INSERT, UPDATE, WRITETEXT, or UPDATETEXT statement. The default is 65536. A value of -1 indicates no limit, other than the limit imposed by the data type. This option applies to transactional replication and Change Data Capture. When a server is configured for both transactional replication and Change Data Capture, the specified value applies to both features. This option is ignored by snapshot replication and merge replication.<br /><br /><span style="text-decoration: underline;"><b>REFERENCE:</b></span> <br /><br />Max text repl size Option in SQL 2008: <a href="http://msdn.microsoft.com/en-us/library/ms186225.aspx">http://msdn.microsoft.com/en-us/library/ms186225.aspx</a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How to change the default organization for a CRM user</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/how-to-change-the-default-organization-for-a-crm-user</link>
      <pubDate>Mon, 27 Feb 2012 14:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/02/27/how-to-change-the-default-organization-for-a-crm-user/</guid>
      <description><![CDATA[The Organization that is retrieved when a user accesses CRM website depends on the sequence in which...]]></description>
      <content:encoded><![CDATA[<p><b><i>The Organization that is retrieved when a user accesses CRM website depends on the sequence in which the user is added to the Organizations:</i></b></p>
<p>Say user 1 and user 2 belongs to CRM organizations - Org1 and Org2. When user 1 tries to access CRM application through web client, it takes him to Org1. When user 2 tries to access CRM application through web client, it takes him to Org2. Reason being, the CRM Organization&nbsp;which is rendered when the users hit the CRM website depends on the sequence in which they were added to the Organizations. Please see the explanation below:&nbsp;</p>
<p>If user 1 is added to Org1 and then added to Org2, when this user tries to access CRM, it will render Org1 and not Org2. Similarly if user 1 is added to Org2 and then to Org1, when this user tries to access CRM, it will render Org2 and not Org1.</p>
<p>In order to test this, create 2 users - crmtest1 and crmtest 2. Add crmtest1 to Org1 and then to Org2. Now, when crmtest1 user hits the CRM web page, it renders Org1 but not Org2. Add crmtest2 to Org2 and then to&nbsp;Org1. Now, when crmtest2 user hits the CRM web page, it renders Org2 but not Org1,&nbsp;which is absolutely expected behavior.</p>
<p><b><i>If you want to change the default CRM Organization to which the user accounts belongs to, follow the steps below:-</i></b></p>
<ol>
<li>Create a dummy account, say crmdummy.</li>
<li>Launch CRM website as CRM administrator. Launch CRM hitting the Org2. Browse to Settings - Administration - Users -&nbsp;crmtest1 account.</li>
<li>Erase the user name field Domainname\crmtest1 and enter the dummy account information Domainname\crmdummy, hit on tab key on keyboard, enter the last name information and click on save button.</li>
<li>Now try accessing the CRM website, this will take you to Org1 but not to Org2 anymore. Reason being, we have erased the crmtest1's account information from the CRM database virtually.</li>
<li>Now go back to the page where we remapped&nbsp;user1's account (in above step). Erase the user name field Domainname\crmdummy and enter Domainname\crmtest1, hit on tab key on keyboard, enter the last name information and click on save button.</li>
<li>Now try accessing the CRM website as User1, this will take you to Org1 but not to Org2 anymore. Reason being, we have erased the crmtest1's account information from the CRM database virtually.</li>
</ol>]]></content:encoded>
    </item>
    <item>
      <title>Authentication through Physical Path Credentials in CRM 4.0 and CRM 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/authentication-through-physical-path-credentials-in-crm-4-0-and-crm-2011</link>
      <pubDate>Sun, 22 Jan 2012 20:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/01/22/authentication-through-physical-path-credentials-in-crm-4-0-and-crm-2011/</guid>
      <description><![CDATA[I have been working in my CRM server for a long time without any issue. I was under the impression...]]></description>
      <content:encoded><![CDATA[<p>I have been working in my CRM server for a long time without any issue. I was under the impression that everything&nbsp;was working as expected until I realized that something went wrong&nbsp;with the authentication mechanism. I found that all my CRM users are getting logged in as the account which I used to install the CRM Server.</p>
<p>To verify this I created a &ldquo;test user&rdquo; in Active Directory, added this user in CRM server, and&nbsp;did&nbsp;not assign any security role to this newly created CRM user. Then I logged into my client machine as &ldquo;test user &ldquo; and after hitting the URL : <a href="http://crmservernameportno">http://crmservername:portno/</a> &nbsp;I found CRM web page is loading without any error message, but&nbsp;at the top right corner the logged in CRM user is showing the CRM installed on user &nbsp;account, which is not expected behavior.</p>
<p>After spending some time and looking into different settings I found this impersonation was happening from IIS, and I&nbsp;was able to resolve this issue after changing the below settings:</p>
<p><i><span style="background-color: #ffff00;">In IIS manager right click the CRM Website&gt;Manage Website&gt;Advanced Settings&gt;Under Physical Path Credentials&gt;Select: Application user (pass through authentication) radio button &gt;click on ok&gt;ok to save the settings</span>.</i><i></i></p>
<p>*No IIS reset is required after doing the above changes.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3326.error7.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3326.error7.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3326.error7.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3326.error7.png" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Dynamics Asynchronous Processing Service (maintenance) Jobs in CRM 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/microsoft-dynamics-asynchronous-processing-service-maintenance-jobs-in-crm-2011</link>
      <pubDate>Sun, 22 Jan 2012 15:12:00 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/01/22/microsoft-dynamics-asynchronous-processing-service-maintenance-jobs-in-crm-2011/</guid>
      <description><![CDATA[You might encounter the situation where Microsoft Dynamics Asynchronous Processing Service...]]></description>
      <content:encoded><![CDATA[<p>You might encounter the situation where Microsoft Dynamics Asynchronous Processing Service (maintenance) fails with a SQL timeout every time it executes a maintenance job . Or, you may not want to run these maintenance jobs on a daily basis especially when the user activities are more in your production server. Or, you just don&rsquo;t&nbsp;want these jobs to run at all.</p>
<p>If you are searching for any system settings in CRM 2011 to increase the time out value of these maintenance jobs. Or, you are looking for an option to schedule these jobs. Or, if you are thinking to just stop the Microsoft Dynamics Asynchronous Processing Service (maintenance), then I would say that you are either&nbsp;looking for an option which is not available, or you are going for an option which is not recommended.</p>
<p>In order to achieve this task in recommended way, you can use <b><i>CRM 2011 Scale Group Job Editor</i></b>&nbsp;<strong><em>Tool</em></strong> available at: <a href="http://crmjobeditor.codeplex.com/">http://crmjobeditor.codeplex.com/</a>. In this tool even if you&nbsp;don't get an option to disable a maintenance job, you will get an option to reschedule that job&nbsp;for&nbsp;a future date/time.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/8206.error%206.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/8206.error-6.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/8206.error%206.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/8206.error-6.png" /></a></p>
<p>Please remember that disabling Microsoft Dynamics Asynchronous Processing Service (maintenance) service is not a solution , because by doing so you are disabling all the maintenance jobs including those which are required in CRM 2011.</p>
<p>And if you are thinking to run any update query against&nbsp;<em><strong>ScaleGroupOrganizationMaintenanceJobs</strong></em> table in MSRCM_CONFIG database, then you are going to do something on your own risk.</p>
<p>A good question is, what if a job is failing with a timeout error and you don&rsquo;t want to disable&nbsp;the job, but&nbsp;you are looking for a fix/workaround. As I mentioned earlier that there is no option to increase the timeout value in Microsoft Dynamics CRM2011,&nbsp;you can either find the root cause&nbsp;of the time out error or include the job in regular SQL maintenance plan after resheduling it for a future date/time using the <b><i>CRM 2011 Scale Group Job Editor</i></b> <strong><em>Tool.</em></strong></p>
<p><b><span style="text-decoration: underline;">Reference </span></b></p>
<p>Microsoft Dynamics CRM 2011 Implementation Guide:</p>
<p><a href="http://www.microsoft.com/download/en/details.aspx?id=3621">http://www.microsoft.com/download/en/details.aspx?id=3621</a></p>
<p>Troubleshooting Performance Problems in SQL Server 2008:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/dd672789(v=sql.100).aspx">http://msdn.microsoft.com/en-us/library/dd672789(v=sql.100).aspx</a></p>
<p>Performance is slow if the AsyncOperationBase table becomes too large in Microsoft Dynamics CRM:</p>
<p><a href="http://support.microsoft.com/kb/968520">http://support.microsoft.com/kb/968520</a></p>
<p>Microsoft Dynamics CRM Timeout settings:</p>
<p><a href="http://support.microsoft.com/kb/918609">http://support.microsoft.com/kb/918609</a></p>
<p><a href="http://blogs.msdn.com/b/crminthefield/archive/2011/06/13/microsoft-dynamics-crm-timeout-settings.aspx">http://blogs.msdn.com/b/crminthefield/archive/2011/06/13/microsoft-dynamics-crm-timeout-settings.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>The Product key is not compatible with installed version of Microsoft Dynamics CRM.</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/the-product-key-is-not-compatible-with-installed-version-of-microsoft-dynamics-crm</link>
      <pubDate>Sun, 22 Jan 2012 09:13:28 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/01/22/the-product-key-is-not-compatible-with-installed-version-of-microsoft-dynamics-crm/</guid>
      <description><![CDATA[Issue Description 
You get the following error message when installing CRM 2011 server with Network...]]></description>
      <content:encoded><![CDATA[<p><b><span style="text-decoration: underline;">Issue Description</span></b><span style="text-decoration: underline;"> </span></p>
<p>You get the following error message when installing CRM 2011 server with Network Load Balance.</p>
<p><b><span style="text-decoration: underline;">Scenario</span></b></p>
<p>You are installing CRM 2011 in Network Load Balance. Installation in 1st node went fine but while doing the installation in the 2<sup>nd</sup> node you get the below error message on the Installation Wizard:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3187.error3.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3187.error3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3187.error3.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3187.error3.png" border="0" alt="" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3187.error3.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3187.error3.png"></a></p>
<p><b><span style="text-decoration: underline;">Cause: </span></b></p>
<p>Following are the two possible causes of this error message:</p>
<ul>
<li>We are doing installation in 2nd node of CRM 2011 by using the license key from the CRM Config Database. It&rsquo;s thinking that we are tweaking the CRM Database and is a forge installation and hence stopping from going ahead.</li>
</ul>
<ul>
<li>A recent update roll up or a hot fix has been applied to the 1<sup>st</sup> node and <span style="background-color: #ffff00;">Use Microsoft update when I check for updates (recommended)</span> radio button is not selected on Select Microsoft Update Preference screen of the installation wizard. You may verify this by capturing the <b>Troubleshooting file for support</b> from the 1<sup>st</sup> node (where installation is successful) using CRM 2011 Diag Tool: <a href="http://crmdiagtool2011.codeplex.com/">http://crmdiagtool2011.codeplex.com/</a> look for the recently applied update roll ups and&nbsp;hot fix.</li>
</ul>
<p><b><span style="text-decoration: underline;">Resolution:</span></b></p>
<p>Reboot the 2<sup>nd</sup> node (where installation is failing).</p>
<p>Add the&nbsp;<b>IgnoreChecks</b>&nbsp;registry key to the computer that is running Microsoft Dynamics CRM so the installation can proceed when an error is shown in the Environmental Diagnostic Wizard (EDW):&nbsp;</p>
<p><em>Click&nbsp;<b>Start</b>, click&nbsp;<b>Run</b>, type&nbsp;<b>regedit</b>, and then click&nbsp;<b>OK</b>.</em></p>
<p><em>In the registry, locate the following subkey:&nbsp;</em></p>
<p><em>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM</em></p>
<p><em>Right-click&nbsp;<b>MSCRM</b>, point to&nbsp;<b>New</b>, click&nbsp;<b>DWORD Value</b>, and then type&nbsp;<b>IgnoreChecks</b>.</em></p>
<p><em>Double-click&nbsp;<b>IgnoreChecks</b>, and then type&nbsp;<b>1</b>&nbsp;in the&nbsp;<b>Value data</b>&nbsp;field.</em></p>
<p>&nbsp;<b><span style="text-decoration: underline;">Note:</span></b></p>
<ul>
<li>Make a backup of the registry keys because serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system.&nbsp;</li>
</ul>
<ul>
<li>You need to manually add the&nbsp;<span style="background-color: #ffff00;">MSCRM</span> folder&nbsp;if not already existing after following the registry hive till&nbsp;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\&nbsp;</li>
</ul>
<div><span class="Apple-tab-span" style="white-space: pre;"><span class="Apple-tab-span" style="white-space: pre;"> <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg" border="0" alt="" /></a></span></span>
<p>Run setup again in 2<sup>nd</sup> node(where installation is failing), <span style="background-color: #ffff00;">Use Microsoft update when I check for updates(recommended)</span> radio button. You will need an outbound internet connection on the server to download these updates. With these updates, the installing server version will be greater than the CRM database version and you should be able to proceed.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3022.error%205.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3022.error-5.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3022.error%205.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3022.error-5.jpg" border="0" alt="" /></a></p>
<p><b>Note:</b> After including this registry value you will get the same error message in installation wizard but this will also enable the <span style="background-color: #ffff00;">Next&gt;</span> button in Installation Wizard to complete this installation.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/3022.error%205.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/3022.error-5.jpg"></a></p>
<span class="Apple-tab-span" style="white-space: pre;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg"></a></span></div>
<div><span class="Apple-tab-span" style="white-space: pre;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg"></a></span></div>
<div><span class="Apple-tab-span" style="white-space: pre;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg"></a></span></div>
<div><span class="Apple-tab-span" style="white-space: pre;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/0216.error%204.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/0216.error-4.jpg"></a></span></div>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;"></span></b></p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to open Lead entity form in CRM 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/atif/unable-to-open-lead-entity-form-in-crm-2011</link>
      <pubDate>Sun, 22 Jan 2012 01:00:14 GMT</pubDate>
      <dc:creator><![CDATA[Mohammad Atif]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/atif/2012/01/22/unable-to-open-lead-entity-form-in-crm-2011/</guid>
      <description><![CDATA[ISSUE DESCRIPTION

You receive below error messages while opening Lead entity main form in CRM...]]></description>
      <content:encoded><![CDATA[<p><b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;">ISSUE DESCRIPTION</span></b></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p>You receive below error messages while opening Lead entity main form in CRM 2011.</p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4606.error2.jpg" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4606.error2.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/47/49/4606.error2.jpg" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-47-49/4606.error2.jpg" border="0" alt="" /></a><br /> <br /><b><span style="text-decoration: underline;">PLATFORM ERROR&nbsp;</span></b></p>
<p><br /> <span style="background-color: #ffff00;">Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.</span><br /><span style="background-color: #ffff00;"> Error Message: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</span><br /><span style="background-color: #ffff00;"> Error Details: Exception of type 'System.Web.HttpUnhandledException' was thrown.</span><br /><span style="background-color: #ffff00;"> Source File: Not available</span><br /><span style="background-color: #ffff00;"> Line Number: Not available</span><br /><span style="background-color: #ffff00;"> Request URL: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span><br /><span style="background-color: #ffff00;"> Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Application.Controls.FormEditorBase.AddPlaceHoldersInSection(XmlNode&amp; secNode)</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Application.Controls.FormEditorBase.AddSpacerCellsInSectionIfRequired(XmlNode&amp; secNode)</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Application.Controls.FormEditorBase.AddColumnsAttribute(XmlNodeList&amp; nodeList)</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Application.Controls.FormEditorBase.ValidateFormXml()</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ValidateFormXml()</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Web.Tools.Views.FormEditorPage.GetFormXml(String formXmlString)</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Web.Tools.Views.FormEditorPage.ConfigurePage()</span><br /><span style="background-color: #ffff00;"> at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)</span><br /><span style="background-color: #ffff00;"> at System.Web.UI.Control.PreRenderRecursiveInternal()</span><br /><span style="background-color: #ffff00;"> at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</span></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;">CAUSE</span></b></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p>You get this error message below condition is not true in form XML:<b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p>&nbsp;<em>&ldquo;If the <b>rowspan</b> is greater than 1, the number of <b>row</b> elements within the <b>rows</b> element must be equal to or greater than the value of the <b>rowspan</b> attribute&rdquo;</em></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;">RESOLUTION</span></b></p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p>Modify form XML to make sure the number of <b>row</b> elements within the <b>rows</b> element must be equal to or greater than the value of the <b>rowspan</b> attribute.</p>
<p><b><span style="text-decoration: underline;"></span></b></p>
<p><b><span style="text-decoration: underline;">REFERENCE</span></b>&nbsp;&nbsp;</p>
<h1><span><span style="font-size: small;">&lt;cell&gt; (FormXML):&nbsp;&nbsp;<a href="http://msdn.microsoft.com/en-us/library/gg327846.aspx">http://msdn.microsoft.com/en-us/library/gg327846.aspx</a></span></span></h1>]]></content:encoded>
    </item>
  </channel>
</rss>