Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old May 15th, 2008, 01:44 AM
Member
 
Join Date: Mar 2008
Posts: 87
Default Only allow anonymous Auth

I have disabled IWA as I want to handle the authentication my self. I have Allow Anonymous checked with the user IUSR_<MachineName> and unchecked IWA. It then says I do not have access when trying to access the aspx pages. If I enable IWA. It will prompt for login and will work. I do not want to prompt for login but only use my own login script. I have checked everywhere I can think of to make sure IUSR_ has permissions but cannot seem to fix this issue.

Can someone point me in the right direction of why it says invalid access 401.2 when IWA is disabled?

EDIT:
It is IIS6 with ASP.NET 2.0 with 3.5 Framework.
Reply
  #2  
Old May 15th, 2008, 02:33 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,663
Default

Check the authentication section of your web.config file. HTH.
Quote:
Originally Posted by arggg
I have disabled IWA as I want to handle the authentication my self. I have Allow Anonymous checked with the user IUSR_<MachineName> and unchecked IWA. It then says I do not have access when trying to access the aspx pages. If I enable IWA. It will prompt for login and will work. I do not want to prompt for login but only use my own login script. I have checked everywhere I can think of to make sure IUSR_ has permissions but cannot seem to fix this issue.

Can someone point me in the right direction of why it says invalid access 401.2 when IWA is disabled?

EDIT:
It is IIS6 with ASP.NET 2.0 with 3.5 Framework.
Reply
  #3  
Old May 15th, 2008, 04:20 PM
Member
 
Join Date: Mar 2008
Posts: 87
Default

Quote:
Originally Posted by kenobewan
Check the authentication section of your web.config file. HTH.
What do I check for? It is set for Windows auth because I want MY login script to do LDAP auth.
Reply
  #4  
Old May 15th, 2008, 07:50 PM
Member
 
Join Date: Mar 2008
Posts: 87
Default

I figured it out... The issue was that I had <authorization mode="Windows"> Once changed to "Forms" it worked.
Reply
  #5  
Old May 16th, 2008, 03:25 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,663
Default

Quote:
Originally Posted by arggg
I figured it out... The issue was that I had <authorization mode="Windows"> Once changed to "Forms" it worked.
Well done! Glad you figured it out.
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles