Domanda

A web application project which was converted to IIS Express and then checked into Team Foundation Server is kicking out an error when other developers try to load it. The error appears in the Visual Studio Output window and the associated web application project fails to load.

This is the error in the output window:

The Web Application Project XXXX is configured to use IIS. The Web server 'http://XXXX' could not be found.

What is causing this issue and how do I fix it?

È stato utile?

Soluzione

While I am unsure of the root cause of how a project that was converted to IIS Express would only save part of that setting, more than likely the issue is that your project file has its UseIISExpress node set to false. Open the project file up in a text editor (Visual Studio or otherwise) and change the nodes setting to true:

<UseIISExpress>true</UseIISExpress>

Once you've edited and saved the project file right click the unloaded project and select reload.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top