Jun 08, 2017 03:54 PM|gunderj|LINK
In IIS I create a website named myProject that does not go under “Default Web Site” and has these settings...
Site name: myProject
Application pool: DefaultAppPool
Physical path: C:\myProject (with connect as a Windows user with database privilages)
When using VS 2013 publish with web deploy, I have these settings...
Site Name: myProject
destination URL: http://localhost/myProject/index.html
The publish succeeds but I get error at end of publishing when it tries to open the index.html:
HTTP Error 404.0 - Not Found
In the error details I get...
Requested URL http://localhost:80/myProject/index.html
Physical Path C:\myProject\myProject\index.html
Why won’t the index.html open successfully? (I do see that c:\myProject\myProject does not exist)
btw, I did get this to work by creating the website under "Default Web Site" and adding that path to publish site name but this then forces me to add the project name in my custom URL’s. I do not want to add project name to the URLs because testing in VS 2013
fails (with or without tilda).
Thanks so much.