Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Studio Debugger
Error: The web server is not configured correctly

Updated: November 2007

This error reads:

The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.

Possible causes of this error include:

  • Trying to debug a .NET web application that was copied to a different machine, manually renamed, or moved.

  • Not having enough IIS connections. (See "Limiting Connections" in the IIS Operations Guide.)

If you are trying to debug an ASP.NET project

  • Check to see that the DEBUG verb is associated with .aspx. See How to: Associate DEBUG Verb with Extension for more information.

  • Check to see that the Web site has been configured as an Application in IIS.

    1. From the Start menu, choose Programs, then Administrative Tools, and click Internet Information Services.

    2. In the Internet Information Services dialog box, click the tree control for your machine, open the Web Sites folder, and find your web site.

    3. Right-click Web Site and choose Properties.

    4. In the Web Site Properties window, select the Directory tab.

    5. Under Application Settings, look for the Remove or Create button.

      If the button says Remove, your website is already configured as an application.

      If the button says Create, click the button to configure your website as an application.

    6. Click OK.

If you are trying to debug an ATL Web application

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
The web server is not configured correctly      Netwalker48 ... Rachel Martin   |   Edit   |  

I was receiving this error until I added the defaultLanguage attribute to the compilation element in the web.config file as follows:

<compilation debug="true" defaultLanguage="c#" >

I was using Visual Studio 2008 Pro, WinXP Pro.

Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker