Error: The web server is not configured correctly

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

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. For more information about deploying a web site to IIS, see Create a Web Site.

  • If you are trying to debug an ASP.NET application, please see Publishing to IIS for instructions on deploying to a remote computer running IIS 8 or higher, or Remote Debugging ASP.NET on a Remote IIS 7.5 Computer for instructions on deploying to a remote computer running IIS 7.5.

See Also

Debugging Web Applications: Errors and Troubleshooting