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, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. 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