Solved

Authorization error in FireFox with ASP

Posted on 2009-04-07
4
343 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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.
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 +…

617 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