共用方式為


Troubleshooting: A server error occurred and the content cannot be displayed

When you try to open the Microsoft Dynamics NAV Web client, you get the following error:

A server error occurred, and the content cannot be displayed. Refresh the page or open a new browser window.

In the Event Viewer of the computer that is running Microsoft Dynamics NAV Web Server components, the Windows application log includes the following event:

Message: A server was not found at “net.tcp://navserver:7046/DynamicsNAV80/Service”. Either the URL is incorrect or the server is currently not available.

navserver is the name of the computer that is running Microsoft Dynamics NAV Server.

Resolution

This error occurs when the Microsoft Dynamics NAV Web client cannot connect to Microsoft Dynamics NAV Server. There are several conditions that can cause this error. Typical causes are Microsoft Dynamics NAV Server has stopped, or the Microsoft Dynamics NAV Server instance that is configured for the client is incorrect. To resolve this error, verify that the following conditions are met:

  • The Microsoft Dynamics NAV Web client is configured to connect to the correct Microsoft Dynamics NAV Server. Verify that the Microsoft Dynamics NAV Server is running and uses the correct logon account.

    Use the Microsoft Dynamics NAV Server Administration tool to verify the status and configuration. Try to start or restart Microsoft Dynamics NAV Server.

    For more information, see Microsoft Dynamics NAV Server Administration Tool.

  • The logon account of Microsoft Dynamics NAV Server has permission to log on as a service on the computer that is running Microsoft Dynamics NAV Server.

    For more information, see Provisioning the Microsoft Dynamics NAV Server Account.

  • If you are using Mozilla Firefox as your browser, then you must enable cookies in the browser. Additionally, configure the address of the Microsoft Dynamics NAV Web client as a trusted URI in Firefox. For more information, see How to: Configure Mozilla Firefox for Microsoft Dynamics NAV Clients.

  • If IIS and the Microsoft Dynamics NAV Server are on separate computers, verify the following conditions:

    • If the Microsoft Dynamics NAV Web client is using Windows authentication, then the Negotiate provider must be included at the top of the providers list in the Windows authentication setup in IIS. For more information, see Configuring the Credential Type on the Microsoft Dynamics NAV Web Client Website.

    • Delegation is configured from the computer that is running IIS to the computer that is running Microsoft Dynamics NAV Server.

      • The following Service Principal Names are registered for the logon account of Microsoft Dynamics NAV Server:

        DynamicsNAV/navserver:port

        DynamicsNAV/navserver.domain:port

        navserver is the name of the computer that is running Microsoft Dynamics NAV Server. port is the port that is used by Microsoft Dynamics NAV Server. domain is the domain that the computer belongs to.

      • Kernel mode authentication is either disabled or configured to use the service account of Microsoft Dynamics NAV Server (Microsoft Dynamics NAV Web client only).

      Note

      If you still get this error after verifying the setup, then disable the Use Kerberos Only option in the delegation setup and try again. The Use Kerberos Only option does not work on some network configurations with Microsoft Dynamics NAV.

      For more information about delegation, see How to: Configure Delegation for Microsoft Dynamics NAV Web Client.

See Also

Tasks

How to: Install the Web Server Components
Walkthrough: Installing the Microsoft Dynamics NAV Web Server Components on Three Computers

Concepts

Deploying the Microsoft Dynamics NAV Web Server Components
Troubleshooting the Microsoft Dynamics NAV Web Client Installation