Darren Liu's Blog

Archive for July 2011

Update Rollup 3 for CRM 2011 is available now!

leave a comment »

Rollup #3 has been released and it fixes dozens of bugs in CRM 2011.  You may download UR3 at http://www.microsoft.com/download/en/details.aspx?id=26912.  Here are some of the things UR3 fixed:

  • You import a solution that contains a plug-in that has empty methods. You publish the customizations. When the plug-in is triggered in this situation, you receive the following error message:

    Unexpected Error
    An error has occurred.


  • The search results for system views in the Dynamics CRM 2011 client for Outlook are not compliant with the search results in the Microsoft Dynamics CRM web client.
  • Assume that you enable the http compression setting on the Dynamics CRM server. In this situation, the Microsoft Dynamics CRM 2011 Outlook client does not receive responses for SDK calls as compressed. This problem occurs because the Outlook client does not send an "EnableDecrompression" http header with the request.
  • The Dynamics CRM 2011 client for Outlook initiates background send requests to the CRM server. This behavior can cause high server load and decreased performance because these requests are not throttled. This fix throttles these background send requests.
  • Consider the following scenario:
    • You create a custom entity that has a custom icon.
    • You create at least two records that begin with the letter "A."
    • You create a "1 to many" relationship from the custom entity to another entity.
    • You expose the Lookup field for the relationship to the custom entity in the related entity.
    • You log on to a Microsoft Dynamics CRM 2011 Outlook client that connects to the environment through IFD/Claims.
    • You clear the Microsoft Internet Explorer cache.
    • You create a new record for the related entity.
    • You run the auto-resolving lookup function by using the letter "A" for the custom entity.

    In this situation, you receive a warning message that states there are multiple matching records. Additionally, the icon does not appear.

  • The Help files are updated.
  • Assume that you configure the Dynamics 2011 client for Outlook. You browse to the Account folder or the Contact folder. In this situation, you experience slow performance when ribbons and menus are rendered.
  • The Start Date field in the Fiscal Year Settings dialog box does not display the date that is converted according to the user time zone settings.
  • The value for the Set this computer to be the synchronizing client in the Dynamics CRM 2011 client for Outlook is different if you open the personal settings dialog box by clicking the Options button in the Track In CRM pane in an email message or an appointment. Additionally, if you select the Set this computer to be the synchronizing client check box, the dialog box becomes unresponsive.
  • Some duplicate attribute labels exist. Therefore, it is difficult to map data on imports.
  • The Russian translations of the Create column heading and the Delete column heading are incorrect in the security role permissions.
  • When you send a Direct Email message to a large dataset, duplicate email messages are generated.
  • When you add a user in a multi-site domain, you experience slow performance after you click Save.
  • Assume that you enable auditing for the Contact entity. If you use a Microsoft Dynamics CRM 2011 Client for Outlook, an auditing log is displayed every 15 minutes or every time that the Outlook client is synchronized with Microsoft Dynamics CRM 2011.
  • Some translations for the Slovenian language are incorrect.
  • Assume that you specify a comma as the decimal separator in the personal format settings. When you enter a decimal custom value in a Duration field, the value is rounded unexpectedly.
  • When you export a static Microsoft Excel worksheet with non-English operating system settings, the Currency values are multiplied by 10,000.
  • When you export a Duration field to an Excel worksheet, the value in the Duration field is displayed as text instead of as a number.
  • If an organization starts many asynchronous operations, the Asynchronous Service allocates many resources to process those requests from the organization. In this situation, other organizations will have an increasing backlog of asynchronous operations. This fix introduces a new deployment setting, called AsyncSelectMaxItems, in the DeploymentProperties table. This setting limits the number of items that can be processed by a single organization at one time. By default, the value is not set. It can be set manually if you experience this issue.
  • Metadata cache access for one organization is blocked if another organization is loading metadata.
  • Assume that you create a contact who has a 200-character email message in Microsoft Dynamics CRM 4.0. When you upgrade the system to Microsoft Dynamics CRM 2011, you receive an upgrade error.
    When you create a contact who has a 200-character email message in Microsoft Dynamics CRM 2011, an internal server error occurs.
  • When you add a URL that contains a query string parameter to a sitemap area or to a subarea in Microsoft Dynamics CRM 2011, the URL is rendered incorrectly.
  • Some Swedish language translations are incorrect.
  • Assume that you have a contact who has the Business Phone filed populated. When you add a new phone call activity by using the ribbon from the Activities area, the Phone Number field is not populated in the phone call activity.
  • When you import a solution, some entities are not imported. Additionally, you receive the following error message:

    Cannot change the max length of the owneridname attribute.

  • When you view the file properties of some files by clicking the Details tab, the value in the Company name field and the value in the Product name field are blank.

Written by darrenliu

07/28/2011 at 9:50 pm

Posted in CRM, Update

Tagged with , ,

CRM 2011–Cannot publish customizations after import

with 2 comments


If you ever run into a situation that you imported your solution successfully and not able to publish it, the reason is because either the size of the solution might be too large or the SQL is not fast enough. 

We ran into this problem earlier this week.  We have a slow SQL server and the size of our solution is big, we can’t publish it and we don’t know what was the reason behind it since CRM didn’t provide any helpful error messages.


After hours of troubleshooting, we finally figured out that CRM has a default timeout value of 300 seconds = 5 minutes. If any process takes more than 5 minutes, it’ll stop. 


Modify the parameters in two different Web.config files:

File 1:

  1. On the CRM application server, open Internet Information Services (IIS) Manager.
  2. Expand the server name, and then expand Web Sites.
  3. Right-click the Microsoft CRM Web site, and then click Open.
  4. Right-click the Web.config file, click Open With, and then click Notepad.
  5. In Notepad, locate the following line.

    <httpRuntime executionTimeout="300" maxRequestLength="8192"/>

    Change to

    <httpRuntime executionTimeout="3600" maxRequestLength="20000"/>

  6. Save and then close the Web.config file.

File 2:

  1. Browse to the folder in which you opened the Web.config file, expand the MSCRMServices folder.
  2. Open the Web.config file with Notepad.
  3. Locate the following line.

    <httpRuntime maxRequestLength="8192"/>

    Change to:

    <httpRuntime maxRequestLength="20000"/>

  4. Save and then close the Web.config file.

I hope this will save you hours if you run into a similar situation.

Written by darrenliu

07/08/2011 at 2:36 pm

Posted in CRM, Customization

Tagged with , , ,