Link to home
Start Free TrialLog in
Avatar of mfarnham
mfarnham

asked on

Authorization error in FireFox with ASP

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

ASKER CERTIFIED SOLUTION
Avatar of sybe
sybe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mfarnham
mfarnham

ASKER

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?
> 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.
My apologies to Sybe for taking so long to test this answer. This solution did in fact solve my problem completely. Thank You