Microsoft KB Archive/926693

From BetaArchive Wiki
Knowledge Base


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"

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:

  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.


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