Microsoft KB Archive/922766

= You cannot use a custom application that uses a separate application pool in Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers =

Article ID: 922766

Article Last Modified on 7/24/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0
 * Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers, when used with:
 * Microsoft Dynamics CRM 3.0

-



The hotfix that is discussed in this article is not available for the Chinese version of Microsoft Dynamics CRM or for the Japanese version of Microsoft Dynamics CRM.



SYMPTOMS
You cannot use a custom application that uses a separate application pool on a computer that has Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers installed.

You may experience this problem when you try to access the custom application. When this problem occurs, you see the Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers logon window instead of the custom application logon window.



CAUSE
This problem occurs if you use Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers together with Microsoft SQL Reporting Services 2005.

This problem also occurs if you use Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers together with any other custom Microsoft CRM Software Development Kit (SDK) application that has the following conditions:
 * The custom application requires a separate Microsoft CRM application pool (CRMAppPool).
 * The required application pool is not the default application pool that is used by the Microsoft CRM Web site.

Note Microsoft .NET 2.0 applications must be set up on a separate application pool because Microsoft CRM Dynamics 3.0 is a .NET 1.1 application. Microsoft .NET 1.1 applications and Microsoft .NET 2.0 applications cannot share the same application pool.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Dynamics CRM service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Installation information
Install this hotfix on computers that are running Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers. To install this hotfix, follow these steps:  Turn off the application mode (AppMode) setting in the Web.config file for the Microsoft Dynamics CRM 3.0 Web site. To do this, follow these steps:  Locate the Microsoft Dynamics CRM 3.0 Web site directory on the Microsoft Dynamics CRM 3.0 server. To do this, follow these steps:  In Microsoft Internet Information Services Manager (IIS), expand the computer name, and then expand Web Sites. Right-click Microsoft CRM v3.0, and then click Properties. Click the Home Directory tab. Determine the path that appears in the Local path box.</li> Click OK.</li></ol> </li> In the directory that you located in step 1, open the Web.config file.</li>  In the AppSettings section, change the following code line.

Existing code line
<add key=&quot;AppMode&quot; value=&quot;On&quot;/>

Replacement code line
<add key=&quot;AppMode&quot; value=&quot;Off&quot;/> </li> On the File menu, click Save.</li> On the File menu, click Exit.</li> Reset IIS on the Microsoft Dynamics CRM 3.0 server. To do this, click Start, click Run, type iisreset, and then click OK.</li></ol> </li> Install the hotfix.</li> If you turned off the application mode setting in step 1, turn on the application mode setting in the Web.config file for the Microsoft Dynamics CRM application.</li></ol>

Prerequisites
There are no prerequisites to install this hotfix.

Restart requirement
If you are prompted, restart the computer after you install the hotfix.

Removal information
To remove this hotfix from a computer that is running the Microsoft CRM Server 3.0 SPLA edition, use Add or Remove Programs in Control Panel.

<div class="moreinformation_section">

MORE INFORMATION
For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

The following registry entries and values are created in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AuthFilter registry subkey when you install this hotfix:
 * ACQUIREMUTEXFORDECRYPT: 0 (DWORD)
 * AUTHFILTERKEY1: no value (REG_BINARY)
 * AUTHFILTERKEY2: no value (REG_BINARY)
 * AUTHFILTERKEY3: no value (REG_BINARY)
 * DEBUG: 0 (DWORD)
 * REFRESHCOUNT: 0 (DWORD)
 * AUTHFILTERTIMEOUT: 200000 (DWORD)

This hotfix also creates the following DWORD registry entry in the  subkey:

SEPARATEAPPPOOLS

The value of the SEPARATEAPPPOOLS registry entry is set to 1. To disable this hotfix, set this registry value to 0.

Additional query words: SPLA apppool crmapppool app pool

Keywords: kbhotfixserver kbqfe kbmbsmigrate kbpubtypekc KB922766

-

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

© Microsoft Corporation. All rights reserved.