A time-out may occur when you deploy Relationship Charts
In order to preclude time-out errors during installation of SalesCentric Relationship Charts, please follow one of the methods described below.
(Please note, this part contains information about how to modify the registry. Make sure to back up the registry before you modify it. For information about how to back up, restore, and modify the registry, read the article 256986 “Description of the Microsoft Windows registry” in the Microsoft Knowledge Base.)
Symptoms: When you import large customization files into Microsoft Dynamics CRM 3.0 or into Microsoft Dynamics CRM 4.0, a time-out occurs. Additionally, you receive one of the following error messages:
Import timeout error.
Maximum request length exceeded.
The file could not be uploaded or Import failed.
This is not a valid customization file. Please use an .XML file that was generated by exporting customizations.
Microsoft CRM Platform Error Report:
Error Description: Timeout expired
Error Details: Details on this error have not been provided by the platform.
Error Number: 0x80040E31.
Resolution
Method 1: Add the OLEDBTimeout and the ExtendedTimeout registry subkeys to increase the time-out values
Click Start, click Run, type regedit, and then click OK.
Locate the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
Right-click MSCRM, point to New, and then click DWORD Value to create a new DWORD value.
Rename the DWORD value to the following value:
OLEDBTimeout
Right-click the DWORD value, and then click Modify.
In the Edit DWORD Value dialog box, type 86400 in the Value data box, click Decimal in the Base option, and then click OK.
Note According to the requirement of the computer that is running SQL server and the number of customization files, the value can be larger than 86400. The value of 86400 is equivalent to 24 hours.
Right-click MSCRM, point to New, and then click DWORD Value to create a new DWORD value.
Rename the DWORD value to the following value: ExtendedTimeout
Right-click the DWORD value, and then click Modify.
In the Edit DWORD Value dialog box, type 1000000 in the Value data box, and then click OK.
Notes
In the Value data box, you can type a value that is larger than 1,000,000. However, do not type a value that is larger than 2,147,483,647. This is hexadecimal 0x7FFFFFFF.
If this key already exists, notice the current value. After you have completed the import or the upgrade for Microsoft Dynamics CRM, set the value of this key back to the original value or delete the key if it did not previously exist. The default OLEDB timeout value is 30 seconds.
Method 2: Modify a parameter in two different Web.config files
Click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
Expand the server name, and then expand Web Sites.
Right-click the Microsoft CRM v3.0 Web site or the Microsoft CRM v4.0 Web site, and then click Open.
Right-click the Web.config file, click Open With, and then click Notepad.
In Notepad, locate the following line.
<httpRuntime executionTimeout="300" maxRequestLength="8192"/>
Increase the "8192" value to a value that is large enough to handle the Customization.xml file.
Increase the "300" value to a larger one, for example "1500".
Save and then close the Web.config file.
In the directory in which you opened the Web.config file, open the MSCRMServices folder.
Right-click the Web.config file, click Open With, and then click Notepad.
In Notepad, locate the following line.
<httpRuntime maxRequestLength="8192"/>
Change the "8192" value to the value that you specified in step 6.
Save and then close the Web.config file.
Removing Demo Links from Menu, Toolbar and Navigation Bars
SalesCentric Relationship Charts uses ISV.Config in order to embed its own navigation items in the navigation bars. By default the ISVIntegration is turned off, but if it is turned on then Microsoft demo links appear. The following instructions provide the administrator with a description of the steps that need to be followed in order to remove these links.
To remove the demo items an administrator should follow these steps:
Select the ISV Config record and then click the Export Selected Customization button.
Click the OK button on the opened message.
Save the file for editing.
Extract customizations.xml file from customization.zip file.
Open the customizations.xml file for editing and perform the following:
Find the following section: <ToolBar>
<Button Icon="/_imgs/ico_18_debug.gif" JavaScript="alert('test');">
<Titles>
<Title LCID="1033" Text="Test" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Info on Test" />
</ToolTips>
</Button>
<ToolBarSpacer />
<!-- A vertical toolbar spacer -->
<Button Icon="/_imgs/ico_18_debug.gif" JavaScript="alert('test');" Client="Web">
<Titles>
<Title LCID="1033" Text="Web Only" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Web client only. This will not show up in any outlook pages." />
</ToolTips>
</Button>
<Button Icon="/_imgs/ico_18_debug.gif" JavaScript="alert('test');" Client="Outlook" AvailableOffline="true">
<Titles>
<Title LCID="1033" Text="Outlook Only" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Outlook Only - This is available offline also." />
</ToolTips>
</Button>
<Button Icon="/_imgs/ico_18_debug.gif" JavaScript="alert('test');" Client="Web, Outlook" AvailableOffline="true">
<Titles>
<Title LCID="1033" Text="Both" />
</Titles>
<ToolTips>
<ToolTip LCID="1033" Text="Both Clients - This is available for both Web and Outlook Clients" />
</ToolTips>
</Button>
</ToolBar>
Please verify that this section does not contain any other items, and then delete the whole section of XML file including both the opening and closing tags for ToolBar (<ToolBar> ... </ToolBar>). If this XML section contains some other items beyond those specified above, these items should not be deleted within the ToolBar section.
Find the section
Please verify that this section does not contain any really used active items, and then delete the whole section of XML file between both the opening and closing
tags for Entity (<Entity> ... ... </Entity>).
If the section contains some useful items, delete only those items you will not use.
Delete unnecessary items only and verify that the <NavBar> ... <NavBar>
section is not empty. If the <NavBar> ... </NavBar> section does not
contain any NavBarItem items delete the whole <NavBar> ... </NavBar>
section.
Then save changes and close the file.