RE: HTTP Error 401: Unauthorized

From: Jim Cheshire [MSFT] (jamesche_at_online.microsoft.com)
Date: 07/20/04


Date: Tue, 20 Jul 2004 14:54:41 GMT

Hi Eben,

In order to know what is causing this, we need to know the full status
code. There are many reason for a 401 status code. It should be 401.#.
What is the number after the dot?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support
jamesche@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.

--------------------
>From: Eben Jansen van Rensburg <ebenj@proactive-integ.co.za>
>X-Newsreader: AspNNTP 1.50 (ActionJackson.com)
>Subject: HTTP Error 401: Unauthorized
>Mime-Version: 1.0
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>Message-ID: <u7#V0jibEHA.2660@TK2MSFTNGP12.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.security
>Date: Tue, 20 Jul 2004 00:12:43 -0700
>NNTP-Posting-Host: 67.41.129.85
>Lines: 1
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
phx.gbl
>Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.security:10865
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
>
>
>
>Hi all,
>
>Sorry if you had this one before, but I hope you can help. I'm running
>VS.NET 2003 on a Windows Server 2003 Standard Edition. The server acts
>as a Domain Controller and a Web Server. It is purely used for
>development. I should probably not do development on a server but I
>need the functionality.
>
>Everytime I want to create a new web project or open an existing one, I
>am asked for my username and password. Although the username and
>password IS CORRECT, it doesn't autheticate me. And if I cancel the
>logon window, I receive a massage that I can't open or create the web
>project because the virtual directory and the fisical path need to map
>to the same location and I get that dreaded HTTP 401: Unauthorized
>error.
>
>How can I prevent being asked a username and password when opening a web
>project in VS.NET. It must be some kind of a security issue. IT IS
>DRIVING ME NUTS!
>
>Thanx 4 you're help guys.
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!
>



Relevant Pages

  • Encoded WebService SOAP Header?
    ... I would like to make these updates using Web Services. ... an attacker could simply replicate the username / password since I am unable ... Or is there another approach to encrypting these? ... I have tight control over both the web server and my client updating ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: OWA Change Password
    ... What do you mean by "external web server"? ... MVP - Exchange ... > that Daniel did not add to his directions. ... username and password to make it function. ...
    (microsoft.public.exchange.admin)
  • Re: Web site content determined by login credentials?
    ... I suggest you post your question in the ASP.NET newsgroup. ... "Michael Hogan" wrote in message ... > with a username and password on our web site that would allow our clients ... > Win2k and IIS for a web server, but we will soon be upgrading to Server ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: cant send/receive e-mails: pop up appears asking for user/passwor
    ... it proves you have the correct username and password. ... A likely reason for the username/password failing is account corruption. ... As a minimum, email scanning in the antivirus must be turned off, ...
    (microsoft.public.windows.vista.mail)
  • Re: Basic authentication with WEBrick?
    ... At this page we will have a login form with username and password. ... form is shown, a Web server authentication, i.e. when a user tries to ... but one that is handled by the WEBrick server - as I ... think is possible if using Apache as the web server. ...
    (comp.lang.ruby)