Microsoft KB Archive/926693

= Error message when you try to log on to Microsoft Dynamics CRM with Windows Internet Explorer 7: &quot;The webpage you are viewing is trying to close the window. Do you want to close this window&quot; =

Article ID: 926693

Article Last Modified on 1/4/2008

-

APPLIES TO


 * Microsoft Dynamics CRM 4.0
 * Microsoft Dynamics CRM 3.0

-



SYMPTOMS
You use Windows Internet Explorer 7 together with Microsoft Dynamics CRM 3.0. Or, you upgrade from Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0. When you try to log on to Microsoft Dynamics CRM, you receive the following error message:

The webpage you are viewing is trying to close the window. Do you want to close this window?



RESOLUTION
To resolve this problem, turn off the application mode setting for the Microsoft Dynamics CRM Web site. To do this in Microsoft Dynamics CRM 4.0, follow these steps:
 * 1) Log on to the Microsoft CRM Web client as a user who has access to the system settings.
 * 2) Click Settings, click Administration, and then click System Settings.
 * 3) On the Customization tab, click to clear the check box for the Open Microsoft Dynamics CRM in Application mode.

To do this in Microsoft Dynamics CRM 3.0, 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 (IIS) Manager, expand, and then expand Web Sites.

Note  is a placeholder for the actual name of the computer where you install the Microsoft Dynamics CRM Web application. Right-click Microsoft CRM v3.0, and then click Properties. In the Microsoft CRM v3.0 Properties dialog box, click the Home Directory tab, and then identify the path that appears in the Local path box. Click OK.  In the directory that you located in step 1, open the Web.config file.</li>  In the AppSettings section, change the following code line as follows.

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> Restart IIS on the Microsoft Dynamics CRM 3.0 server. To do this, click Start, click Run, type iisreset, and then click OK.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To use the Microsoft Dynamics CRM Web application together with Internet Explorer 7, you must turn off the application mode setting for the Microsoft Dynamics CRM Web site. If you do not turn off the setting, Internet Explorer 7 prompts you to close the page. Then Internet Explorer 7 opens the Microsoft Dynamics CRM home page in a new Internet Explorer window.

By default, the application mode setting is on for the Microsoft Dynamics CRM 3.0 Web site and for any upgraded Microsoft Dynamics CRM 4.0 Web site. Any new installation of Microsoft Dynamics CRM 4.0 has the application mode setting turned off. When the setting is on, the Internet Explorer 7 toolbars or the Internet Explorer 6 toolbars are not displayed when you are using Microsoft Dynamics CRM. When you turn off the setting, the Internet Explorer 7 toolbars or the Internet Explorer 6 toolbars are displayed when you are using Microsoft Dynamics CRM.

Additional query words: CRM3 CRM30 CRM3.0 access crm

Keywords: kbmbscrm40 kberrmsg kbtshoot kbmbsmigrate kbprb KB926693

-

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

© Microsoft Corporation. All rights reserved.