views:

170

answers:

1

Hello all,

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 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?

Thanks.

A: 

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

jfar
My application bool uses the NetworkService account, is that the right one? Or do I have to use something else?Thanks.
Saxman
I've created a new ApplicationPool and somehow it's working now :) Not sure what was the problem. Thanks.
Saxman