Reputation: 1025
I have an MVC 5
application and when I browse to it through IIS
(version 8), I get a 403.14
with the message The web server is configured to not list contents of this directory. Its like the routing is not working?
Upvotes: 0
Views: 149
Reputation: 4064
No you're seeing that 403.14
error code because IIS failed to navigate the project resources. If your routing was the problem, you will see 404
.
There are two things you need to check out for your error.
For IIS to access your resources, you need to give Read/Write permission to your IIS.
Security
tabIUSR
account listed up on the user ( or group ) panelIUSR
and give Read/Write permission ( by default, it has already ).MVC directory can be tricky for a user with less experience. You can easily get confused by which directories should be the destination folder for IIS. It must be the parent folder of Web.config
. Please doublecheck you set your project folder right.
This will resolve that error. If another HTML error code comes out, then it is safe to think that you completed a first step for .NET MVC
deployment on IIS.
Upvotes: 1
Reputation: 933
403.14 means that you do not have permission to view this directory or page using the credentials that you supplied. make sure that your virtual directory was created correctly and IIS has access to read/write on it. You can find more details here and here
Upvotes: 0