Reputation: 865
When I published ASP.NET MVC4 site I see error: You do not have permission to view this directory or page.
In Web.Config I use windows authentication:
<authentication mode="Windows" />
<authorization>
<deny users="?"/>
</authorization>
On my local machine everything works perfect. Problem when I published site to server. I tried to upload another site to this server, everything works. Problem with my site.
Upvotes: 1
Views: 6845
Reputation: 2548
The error could be that permissions on the folder are not setup.
Need to add local machine Users
allowing Read, ReadAndExecute, ListDirectory
permissions.
Upvotes: 1