Reputation: 1071
I have developed MVC 5 web application in VS 2013 and I want to deploy that application in IIS 8 but its give me error as per given image.
Upvotes: 0
Views: 1133
Reputation: 372
If you're deploying to the default web site in IIS you can safely publish to the default website's directory and be up and running.
However, if you're deploying an ASP.NET MVC site to a subdirectory of the default site, or to a new directory on the server, you will need to create a new web site, or convert the subdirectory (when publishing under the default site) to an application.
If this is your first time setting up a site on IIS, Microsoft has documentation on the steps to follow in the learn section of ASP.NET.
Upvotes: 0
Reputation: 690
Make sure you've given IIS_IUSRS group READ permission to the wwwroot directory. (if it requires additional permissions, Read & Execute might be necessary).
There's also a IUSR that may need READ permission as well.
Upvotes: 1