I configured my MVC site to use Windows authentication in the project properties and in the configuration file:
<authentication mode="Windows"/>
When I run the code on my machine, everything works fine, but when I deploy the site in IIS, I get the error "User. You do not have the right to use this site."
I made sure that Windows authentication is enabled in IIS functions, I donβt know what else I need for this, please help!
- .NET Framework 4.5
- IIS 7.5
- MVC 5


source share