I have configured my MVC site to use windows authentication in the project properties and in the config file:
<authentication mode="Windows"/>
When I run the code on my machine everything works fine but when I deploy the site to IIS i get an error stating "User . You are not authorized to use this website."
I made sure Windows Authentication is enabled in IIS features, not sure what else I should to for this to work, please help!
you need to disable your anonymous authentication.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With