I'm using Visual Studio Development Server (Visual Basic 2010) and it works fine. Now I've enabled NTLM Authorization because I want to test the website using a different user account. Now when I try to access the website I always get the following error page:
HTTP Error 403 - Forbidden.
Version Information: ASP.NET Development Server 10.0.0.0
I'm using a test account which is a normal user within our domain. I've already set the access rights in my project folder to Full Access for this user but it does not help. Any further ideas? Thanks!
Another option that doesn't require running VS as Administrator, or setting up local IIS is to ensure Visual Studio 2010 is on Service Pack 1, is to go grab IIS Express, available here:
http://www.microsoft.com/download/en/details.aspx?id=1038
This is a version of IIS that runs in user mode, that can handle things like authentication, serving requests to remote hosts, etc. In short, you have the full request pipeline, just like in full IIS. Once installed, when you right click on a web project, there will be a new menu option "Use IIS Express". This will configure the project to use IIS express and set up the bindings for it.
More information about from ScottGu here: http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx
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