开发者

ASP.NET MVC Windows Authentication 403 Forbidden: Access is denied

开发者 https://www.devze.com 2023-01-13 20:31 出处:网络
I\'m developing an ASP.NET MVC 2 app using Windows Authentication. When I run it within Visual Studio (using the built-in IIS), under the same domain, I was able to login using my credential. But when

I'm developing an ASP.NET MVC 2 app using Windows Authentication. When I run it within Visual Studio (using the built-in IIS), under the same domain, I was able to login using my credential. But when I deployed it to the server, which is also on the same domain, in-house, I got the "403 - Forbidden: Access is denied." error.

I notice that when running it from within Visual Studio, opening the开发者_StackOverflow中文版 site from IE automatically logs me on, no prompts. But when trying to access it from the server (again, on the same domain), IE prompts me to log-on, and eventually gave the 403 error.

I'm not sure if there are extra settings that I need to do on my app, on the server, or both?


Did you change the Application Pool to run under a privileged account?

0

精彩评论

暂无评论...
验证码 换一张
取 消