Print Page | Close Window

http 401.1 error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11643
Printed Date: 09 April 2026 at 1:00am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: http 401.1 error
Posted By: typhoon
Subject: http 401.1 error
Date Posted: 27 August 2004 at 8:03am

We use the webweiz forum with ther AD integration.

users who have lost their password or gotten their password expired get an 401.1 error from the server. As it should be. Guess this is a more windows IIS question then an webwiz question.

is it possible to get an customized error message that makes the distinction between an password expired and an wrong password/ username entry? now it just says:

You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.

------------------------------------------------------------ --------------------

Please try the following:

Click the Refresh button to try again with different credentials.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the ...home page.
HTTP 401.1 - Unauthorized: Logon Failed
Internet Information Services
etc...

Some users have the password expired since this is on another AD and they dont know that their password actually expired. So it would be neat if the answer replyed with "password expired" or something..

problem is the server gives the 401.1  error message regardless of the two faults, probably standard from m$..any ideas?

//Dave

 




Replies:
Posted By: michael
Date Posted: 27 August 2004 at 2:18pm
Not sure if you can do that in asp, and if so, would not know how but as you seem to have your own server, just use a asp.net script to capture, whether a password has expried, if successful on login forward to the forums default.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting09102002.asp - Here is a KB Article on how to do that

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: typhoon
Date Posted: 30 August 2004 at 4:18am

We dont use asp.net (yet), so it looks like we will be modifying the standard 401.1 error to include some more information then.

//Dave




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net