Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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?

↑ Back to the top


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:
  1. Locate the Microsoft Dynamics CRM 3.0 Web site directory on the Microsoft Dynamics CRM 3.0 server. To do this, follow these steps:
    1. In Microsoft Internet Information Services (IIS) Manager, expand Computer_name, and then expand Web Sites.

      Note Computer_name is a placeholder for the actual name of the computer where you install the Microsoft Dynamics CRM Web application.
    2. Right-click Microsoft CRM v3.0, and then click Properties.
    3. 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.
    4. Click OK.
  2. In the directory that you located in step 1, open the Web.config file.
  3. In the AppSettings section, change the following code line as follows.

    Existing code line
    <add key="AppMode" value="On"/>
    Replacement code line
    <add key="AppMode" value="Off"/>
  4. On the File menu, click Save.
  5. On the File menu, click Exit.
  6. Restart IIS on the Microsoft Dynamics CRM 3.0 server. To do this, click Start, click Run, type iisreset, and then click OK.

↑ Back to the top


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.

↑ Back to the top


Keywords: KB926693, kbmbscrm40, kbmbsmigrate, kbprb, kbtshoot, kberrmsg

↑ Back to the top

Article Info
Article ID : 926693
Revision : 2
Created on : 1/4/2008
Published on : 1/4/2008
Exists online : False
Views : 364