Groups | Blog | Home
all groups > inetserver asp general > november 2005 >

inetserver asp general : use windows username in asp


nikou_70 NO[at]SPAM yahoo.com
11/30/2005 4:41:33 PM
I have a problem with ("auth_user") in asp,I try to use windows
username and password in asp page for limitation user access to pages,
but this server variable returns empty string, can you help me ,I
appreciate it.
nikou_70 NO[at]SPAM yahoo.com
12/1/2005 8:05:18 AM
when I turn off Anonymous i get this error,

This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this
is done by using the AddHeader method of the Response object to request
that the client use a certain authentication method to access the
resource.
Turkbear
12/1/2005 8:54:52 AM
[quoted text, click to view]

Are you using Windows Authentication in IIS? If Anonymous access is allowed, the auth_user would probably be blank..
nikou_70 NO[at]SPAM yahoo.com
12/1/2005 9:48:41 AM
HTTP 401.2 - Unauthorized: Logon failed due to server configuration
Internet Information Services

--------------------------------------------------------------------------------
this id eroor numbber,when I uncheck Anonymous in IIS I didin't get
error .
Bob Barrows [MVP]
12/1/2005 11:18:38 AM
[quoted text, click to view]

What is the error number? And there seems to be some of the error text
missing ...
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

jeff.nospam NO[at]SPAM zina.com
12/6/2005 4:22:23 AM
[quoted text, click to view]

Dumb question, but are your users authorized to the site and the
folders in NTFS permissions? Does this work with the Administrator
account?

AddThis Social Bookmark Button