Microsoft KB Archive/933842

= The functionality that you expect from a callout .dll file does not work as expected in Microsoft Dynamics CRM 3.0 =

Article ID: 933842

Article Last Modified on 8/15/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
After you create a callout .dll file and then modify the Callout.config.xml file, the functionality that you expect from the callout .dll file does not work as expected in Microsoft Dynamics CRM 3.0.



CAUSE
This issue may occur if one or more of the following conditions are true:  The callout .dll file and the Callout.config.xml file are not located in the following folder:

C:\Program Files\Microsoft CRM\Server\bin\assembly

 You did not reset Microsoft Internet Information Services (IIS) after you modified the Callout.config.xml file. The account that is running the CRMAppPool application pool does not have permissions for the following folder:

C:\Program Files\Microsoft CRM\Server\bin\assembly

 The SetupMode registry subkey is set to 1.



RESOLUTION
Warning 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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this issue, follow these steps:  Move the callout .dll file and the Callout.config.xml file to the following folder:

C:\Program Files\Microsoft CRM\Server\bin\assembly

</li> Reset IIS. To do this, click Start, click Run, type iisreset in the Open box, and then click OK.

Note You should reset IIS after hours because users will temporarily lose connectivity to Microsoft Dynamics CRM.</li> Grant the account that is running the CRMAppPool application pool the Full Control permission for the following folder:

C:\Program Files\Microsoft CRM\Server\bin\assembly

To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.</li> Expand the server name.</li> Expand Application Pools.</li> Right-click CRMAppPool, and then click Properties.</li> Click the Identity tab.</li> Identify the security account for the CRMAppPool application pool.</li> In Windows Explorer, right-click the following folder and then click Sharing and Security:

C:\Program Files\Microsoft CRM\Server\bin\assembly

</li> Click the Security tab.</li> Click the account that you identified in step f, click the Allow check box for the Full Control permission, and then click OK.</li></ol> </li> Change the SetupMode registry subkey to 0. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then select the following registry subkey:

 

</li> After you select the registry subkey, right-click SetupMode, and then click Modify.</li> In the Value data box, type 0, and then click OK.</li> <li>On the File menu, click Exit.</li> <li>Restart the Microsoft Dynamics CRM 3.0 server.</li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
If the callout .dll file encounters a problem, an error message is logged in the Application log. To view the Application log, click Start, point to All Programs, point to Administrative Tools, and then click Event Viewer. Double-click Application.

Additional query words: crm3 crm30 crm3.0

Keywords: kbtshoot kbmbscustomization kbmbsmigrate kbprb KB933842

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.