Load IIS configured web projects while IIS is not installed in your system

Hi Guys.. 

There could be situation where web applications would be created under IIS and while opening the projects if IIS is not configured or respective virtual directories are not created then we encounter with following error message:

The Web Application Project XXXXXXX is configured to use IIS. The IIS Web server is not installed on this computer.

Solutions:

1. If IIS is installed then create a virtual directory and reload the project.
2. If IIS is not installed in your system , then open the respective .csproj/.vbproj in notepad and modify an XML attribute. i.e. Modify from <IISUrl> to <CustomServerUrl>

E.g. 
<IISUrl> http://localhost/MyWebPrj</IISUrl>
to 
<CustomServerUrl> http://localhost/MyWebPrj </CustomServerUrl>

Now, reload the project. From now on it will work through file system. i.e. http://localhost:xxxx/MyWebPrj

where xxxx = port no.

Hope it helps you.

Cheers.

Comments

Popular posts from this blog

ASP.NET Compillation Error BC31007 - Solution

Test & Debug WCF service using WCFTestClient.exe

The Difference between GET and POST