Optimizing Microsoft Dynamics CRM 2011 Using HTTP Compression

In this section:

How to:

Internet Information Service (IIS) automatically compresses many types of content including script, images, and CSS files to help improve network performance by minimizing the amount of data required to be transferred between the client and the server. MS CRM responses are not compressed by default by IIS. They have the following mimetype:

application/soap+xml;charset=UTF-8

With HTTP compression enabled, you can see up to a 30% reduction in response size. This is shown by analyzing network traffic before and after it is enabled.

Note: Do not enable compression in IIS if you are using an external compression utility.


Top of page

x
Procedure: How to Enable Compression Using a Command Line

To enable compression using a command line:

  1. Open the Command Prompt on the MS CRM Server.
  2. Run the following command:
    %SYSTEMROOT%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/soap+xml; charset=UTF-8',enabled='true']" /commit:apphost
  3. Reset IIS for the setting to take effect.

Top of page

x
Procedure: How to Enable Compression Manually

To manually enable compression:

  1. On the MS CRM Server, navigate to the applicationHost.config file (for example, C:\Windows\System32\Inetsrv\Config\applicationHost.config) and open it using any text editor.
  2. Locate the section “<httpCompression directory=”, its child node, “<dynamicsTypes>”, and its entry, <add mimeType="application/x-javascript" enabled="true" />, and add the following line below it:
    <add mimeType="application/soap+xml; charset=UTF-8? enabled="true" />
  3. Save the file and reset IIS for the setting to take effect.

Top of page

x
Procedure: How to Enable Compression in IIS Using Configuration Editor

To enable compression in IIS using the Configuration Editor:

  1. Open IIS on the MS CRM Server.
  2. Open the Configuration Editor and navigate to system.webServer/httpCompression, as shown in the following image.

  3. Select and right-click dynamicTypes, and click Open to add the new mimeType.
  4. Click Add to add a new item, and enter the following mimeType:
    application/soap+xml; charset=UTF-8

  5. Enable the mimeType and close the window.
  6. Select Apply on the Configuration Editor, and then reset IIS for the setting to take effect.

    Note: Ensure you test this thoroughly in a test environment before configuring your production environment with this setting.


Top of page

x
Internalization

iWay Application Adapter for Microsoft Dynamics CRM 2011 On-Premises can operate MS CRM with different locales. It also supports special characters such as dollar or euro signs, copyrights, trade mark, and other symbolic characters. To avoid any problems with non-Latin symbols, MS CRM must be configured to use UTF-8 encoding, which is the default setting.


Top of page

x
Known Runtime Issues

This section lists and describes known runtime issues for the iWay Application Adapter for Microsoft Dynamics CRM 2011 On-Premises.


iWay Software