Solved

Authorization error in FireFox with ASP

Posted on 2009-04-07
4
338 Views
Last Modified: 2013-12-07
I have created some small work flow applications using ASP that run on an IIS 6.0 server2003 box entirely on an intranet. I have been spoiled because we (used to) use only IE, but recently a team has been using my applications with FireFox. These users receive an authorization error:

HTTP 401.2 - Unauthorized: Logon failed due to server configuration
Internet Information Services

On the pages that fail I use Request("LOGON_USER") to keep track of who is performing each action in the workflow. I beleive this is the code that is causing the error. My research has suggested that I need to use Response.AddHeader - but I have no idea what or why or how to use this to solve this problem.
Any insight would be appreciated - I am looking for the code to use (assuming AddHeader is the fix), and more important why I am using it.

Thanks in advance -

- Mike
Dim sUser

sUser = Request("LOGON_USER")

Open in new window

0
Comment
Question by:mfarnham
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 500 total points
ID: 24088028
In IIS you need to check the box with Basic Authentication, Firefox does not support Integrated Windows Authentication.
0
 

Author Comment

by:mfarnham
ID: 24088103
If all of my users have a windows logon, and I rely on that to determine who my user is, then setting the site to basic authentication in IIS will remove that functionality - am I correct? Is there an authentication mode/selection in IIS that will work for me here without having my users login again and building some kind of session?
0
 
LVL 28

Expert Comment

by:sybe
ID: 24088373
> setting the site to basic authentication in IIS will remove that functionality - am I correct?

No, that will not remove that functionality. Firefox users will get an authentication popup.
"Integrated Windows Authentication" means that Internet Explorer takes the user from the Windows login. Firefox is not so much integrated into Windows that it can do that, so it will try to visit the site as "anonymous user". If you have that box checked out (and you have that probably), Firefox will ask the user to fill out username/password.
0
 

Author Comment

by:mfarnham
ID: 24139546
My apologies to Sybe for taking so long to test this answer. This solution did in fact solve my problem completely. Thank You
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
website content maintenance 3 76
Web Browsers Start Page Hijacker 14 106
Video won't play 5 47
download a file from webmail to ipod 2 33
I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now