Reputation: 35
I searched alot among tutorials but I'm so confused now.
when I run VS I see this window:
and when in browser searched localhost/tile-shop2 I see list of directoris in Solution Explorer, and when I click on one of them, Error 404.8 appears. (I run aspnet_regiis and IIS7 works itself) Can anybody please tell me what is wrong here? Thanks so much
Upvotes: 1
Views: 1156
Reputation: 7148
It sounds like the IIS application is pointing to the folder containing your web project and not the published web project contents.
You want to create a folder within your IIS root ('C:\inetpub\MyProject') and point your IIS application's physical path to this same publish folder, rather than your Visual Studio project folder. You then need to publish the website to this folder using Visual Studio.
Upvotes: 2