Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Authorization error in FireFox with ASP

Posted on 2009-04-07
4
Medium Priority
?
345 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

688 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