Hi,

I just installed IIS and placed my website into the C:\Inetpub\wwwroot
folder. Now I can't access it? I did not create a User name or Password so I
don't know why I am being promted for one. When I try to access
http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
cant even go to http://localhost/ with out getting the user and pass prompt?
Anyone know how I can get ride of this. What a pain. How am I not authorized
to view this?

Thanks,

Re: ISS: What is my User name and Password by jeff

jeff
Fri May 27 21:15:23 CDT 2005

On Fri, 27 May 2005 13:56:04 -0700, "marc"
<marc@discussions.microsoft.com> wrote:

>I just installed IIS and placed my website into the C:\Inetpub\wwwroot
>folder. Now I can't access it? I did not create a User name or Password so I
>don't know why I am being promted for one. When I try to access
>http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
>cant even go to http://localhost/ with out getting the user and pass prompt?
>Anyone know how I can get ride of this. What a pain. How am I not authorized
>to view this?

Because you didn't allow anonymous access. Set your web site to allow
anonymous access in the Directory Security tab, Authentication and
Access.

Jeff

Re: ISS: What is my User name and Password by marc

marc
Fri May 27 21:55:25 CDT 2005

Jeff,

Thanks for your reply. I have confirmed that directory security, anonymous
access box is checked, and applied all changes. I still get the user/pass
promt. Any ideas?

"Jeff Cochran" wrote:

> On Fri, 27 May 2005 13:56:04 -0700, "marc"
> <marc@discussions.microsoft.com> wrote:
>
> >I just installed IIS and placed my website into the C:\Inetpub\wwwroot
> >folder. Now I can't access it? I did not create a User name or Password so I
> >don't know why I am being promted for one. When I try to access
> >http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
> >cant even go to http://localhost/ with out getting the user and pass prompt?
> >Anyone know how I can get ride of this. What a pain. How am I not authorized
> >to view this?
>
> Because you didn't allow anonymous access. Set your web site to allow
> anonymous access in the Directory Security tab, Authentication and
> Access.
>
> Jeff
>

Re: ISS: What is my User name and Password by jeff

jeff
Fri May 27 22:16:55 CDT 2005

On Fri, 27 May 2005 19:55:25 -0700, "marc"
<marc@discussions.microsoft.com> wrote:

>Thanks for your reply. I have confirmed that directory security, anonymous
>access box is checked, and applied all changes. I still get the user/pass
>promt. Any ideas?

Have you removed all except anonymous? Does the anonymous user
account have access to the folder for at least READ?

Jeff

>"Jeff Cochran" wrote:
>
>> On Fri, 27 May 2005 13:56:04 -0700, "marc"
>> <marc@discussions.microsoft.com> wrote:
>>
>> >I just installed IIS and placed my website into the C:\Inetpub\wwwroot
>> >folder. Now I can't access it? I did not create a User name or Password so I
>> >don't know why I am being promted for one. When I try to access
>> >http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
>> >cant even go to http://localhost/ with out getting the user and pass prompt?
>> >Anyone know how I can get ride of this. What a pain. How am I not authorized
>> >to view this?
>>
>> Because you didn't allow anonymous access. Set your web site to allow
>> anonymous access in the Directory Security tab, Authentication and
>> Access.
>>
>> Jeff
>>


Re: What is my User name and Password by David

David
Mon May 30 06:39:23 CDT 2005

401.1 means "username/password is incorrect".

If you are using anonymous access, then it suggests that the anonymous
username/password configured in IIS does not match reality.

Usually, anonymous access works by default on an install, unless you have
something ELSE running on the system that prevents it from working. If you
run as administrator, anything could be causing this (by default,
administrators can reconfigure the system), so you'll need to be diligent in
reporting what is "non-default".

We can start with:
1. What is your OS version (W2K, WXP, WS03, etc)
2. Is this machine in a domain or stand-alone?

As for why you can get 401 errors even when running as administrator or
enable anonymous, see this:
http://blogs.msdn.com/david.wang/archive/2005/05/27/Access_Denied_to_Administrators_or_Anonymous_User.aspx

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"marc" <marc@discussions.microsoft.com> wrote in message
news:8822FC44-5B1F-4517-89A2-ABE5026E1747@microsoft.com...
Hi,

I just installed IIS and placed my website into the C:\Inetpub\wwwroot
folder. Now I can't access it? I did not create a User name or Password so I
don't know why I am being promted for one. When I try to access
http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed.
I
cant even go to http://localhost/ with out getting the user and pass prompt?
Anyone know how I can get ride of this. What a pain. How am I not authorized
to view this?

Thanks,