Solved

Authorization error in FireFox with ASP

Posted on 2009-04-07
4
337 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
Comment Utility
In IIS you need to check the box with Basic Authentication, Firefox does not support Integrated Windows Authentication.
0
 

Author Comment

by:mfarnham
Comment Utility
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
Comment Utility
> 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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I spend far too much time on the web keeping up with the news: politics, the environment, computer stuff, the Experts Exchange. It's never-ending. But many of the most informative web pages are overwhelmed with noise: scrolling banners, flashing tex…
Several part series to implement Internet Explorer 11 Enterprise Mode
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 +…

763 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

8 Experts available now in Live!

Get 1:1 Help Now