Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: "Scott M." <smar@xxxxxxxxxxxxx>
- Date: Sat, 26 Jan 2008 11:00:54 -0500
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message news:%236pwAu8XIHA.536@xxxxxxxxxxxxxxxxxxxxxxx
re:
!> Anonymous Access is on by default. I only turned on Integrated Windows
!> Authentication (in addition to the automatically enabled Anonymous Access)
Integrated Windows Authentication overrides the Anonymous authentication default.
I'm not so sure about that since both Anonymous and Integrated Windows are checked simultaneously. If selecting one disabled the other, I would expect that you would not be able to select them both together. I believe that selecting both allows IIS to have the benefits of both. VS needs integrated Windows authentication to make debugging work.
When you "only turned on Integrated Windows Authentication", in effect,
you are requiring *all* clients which access your application to have an
account on the server which is hosting it.
re:
!> Integrated Windows Authentication must be on in order to debug the application
Which OS are you using ? Which version of IIS are you using ?
XP Pro. SP2 / IIS 6.0
There's different solutions for different OS/IIS versions.
There's a slew of reports/solutions for the problem you report at :
http://www.google.com/search?hl=en&q=debug+%22Visual+Studio%22+%22Windows+Authentication%22
Yes, I've already seen those but that's not really the point of my post.
Even with what you are saying, I should be able to see the page I'm trying to access since I do, in fact, have a Windows account on the development server that I'm testing against and even still, I get a 403 error.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <smar@xxxxxxxxxxxxx> wrote in message news:utGU6%236XIHA.5816@xxxxxxxxxxxxxxxxxxxxxxx
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message news:OIQuSa6XIHA.3940@xxxxxxxxxxxxxxxxxxxxxxxre:
!> enabled Integrated Windows Authentication
!> When I attempt to run the project, I get an http 403 access fobidden error
When you run ASP.NET with Windows Authentication enabled,
every single account which accesses the application must have
permission to access the app expressly granted.
Have you considered using Anonymous Authentication or Forms Authentication ?
Anonymous Access is on by default. I only turned on Integrated Windows Authentication (in addition to the automatically enabled Anonymous Access) because Visual Studio complained that Integrated Windows Authentication must be on in order to debug the application.
Or, are you set on creating a Windows user account for every single user of your App ?
See above.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Scott M." <smar@xxxxxxxxxxxxx> wrote in message news:OpY5jz5XIHA.2268@xxxxxxxxxxxxxxxxxxxxxxxIn my ASP .NET 2.0 Web Applicaiton Project, I've changed the server setting to use IIS. I then created the virtual directory (from the button in VS) and then went and enabled Integrated Windows Authentication. The site consists of just a single default.aspx file with nothing in it. When I attempt to run the project, I get an http 403 access fobidden error.
What am I missing?
Thanks.
.
- Follow-Ups:
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Juan T. Llibre
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Scott M.
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- References:
- Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Scott M.
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Juan T. Llibre
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Scott M.
- Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- From: Juan T. Llibre
- Using IIS w/ASP .NET 2.0 Web Application Projects
- Prev by Date: Re: Access method in master's master
- Next by Date: Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- Previous by thread: Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- Next by thread: Re: Using IIS w/ASP .NET 2.0 Web Application Projects
- Index(es):