Mobile app version of vmapp.org
Login or Join
Sherry384

: Why is IIS using a different physical path than the one that is configured? I am trying to deploy a website on IIS. I have created a website and configured its physical path to be "C:ProjectsWebsitesMyApplication".

@Sherry384

Posted in: #AspNet #Iis #WebsiteDeployment #WindowsServer2008

I am trying to deploy a website on IIS. I have created a website and configured its physical path to be "C:ProjectsWebsitesMyApplication".

However, when I try to display it on a browser inside my server by accessing "http://localhost/myApplication/" it gives me 404 Not Found. In the detailed error information I can see that the physical path is "C:inetpubwwwrootMyApplication" instead of the one that I configured. Since I do not have a folder named MyApplication under "C:inetpubwwwroot" IIS cannot find the website and gives me the 404 Not Found error.

Why is IIS overriding the physical path that I have set and how can I change it to the one that I want?

PS: The machine I am using has Windows Server 2008 R2 and IIS 7.5.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Sherry384

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme