The local IIS URL specified for Webproject has not been configured.

This error occurs when opening a web project from another place where it was first opened.

 

To fix it, just open the Projects .csproj file and uncomment the URL part in notepad:

<pre>

<strong>&lt;!–</strong>&lt;IISUrl&gt;http://foo.bar&lt;/IISUrl&gt;<strong>–&gt;</strong>

</pre>