From: Adam Sandler on
Hello:

I just installed IIS and I wanted to test to make sure it was
running. The next thing I did was open a browser and go to http://localhost

Instead of getting the default asp page, I got an authentication
window. I haven't configured an account yet so why am I getting a
prompt for username and password? Is there a default user which I've
overlooked? If so, what is the username and password?

Any suggestions are greatly appreciated.

Thanks!
From: Ken Schaefer on
You must have at least one user account - the one you've logged onto the
machine with (unless you are using Windows 98/ME)

Cheers
Ken

"Adam Sandler" <corn29(a)excite.com> wrote in message
news:5390b243-f8c0-4289-becd-c8aca8878bf2(a)s9g2000yqd.googlegroups.com...
> Hello:
>
> I just installed IIS and I wanted to test to make sure it was
> running. The next thing I did was open a browser and go to
> http://localhost
>
> Instead of getting the default asp page, I got an authentication
> window. I haven't configured an account yet so why am I getting a
> prompt for username and password? Is there a default user which I've
> overlooked? If so, what is the username and password?
>
> Any suggestions are greatly appreciated.
>
> Thanks!

From: Adam Sandler on
On Jun 5, 8:16 pm, "Ken Schaefer" <kenREM...(a)THISadOpenStatic.com>
wrote:
> You must have at least one user account - the one you've logged onto the
> machine with (unless you are using Windows 98/ME)
>

Thanks for the reply... I entered the user and pass of the account
I've logged into the machine with (as you mentioned) and I get an
authentication error. You say, "you must have at least one user
account", and I do... because if I didn't, I could even get to the
desktop, nor a browser, nor IIS Manager. But since I'm getting
authentication errors, what other account is IIS looking for?
From: Ken Schaefer on
Hi,

a) IIS doesn't just serve webpages willy nilly - it needs to read files off
a disk, and to do that it needs to be using an account that has permissions
to the file. By default, when using "anonymous access" IIS uses a
preconfigured account. That account might not have permissions to read the
file, hence a prompt to supply additional credentials

b) IIS has now sent back a "401" (unauthorized) to your browser. your
browser doesn't just send your credentials willy-nilly to any website that
asks for them, otherwise people could just setup web servers that harvest
credentials :-)

So, look at the NTFS permissions for the file in question, and depending on
what access you want, ensure that the relevnat account has Read (RX)
permissions to the file in question.

If you want to allow anonymous access, ensure that Anonymous access is
enabled, and that the IUSRS group has permissions to that file.

Cheers
Ken

"Adam Sandler" <corn29(a)excite.com> wrote in message
news:57de4992-b9d5-4608-a557-ce9dcb078bd1(a)j4g2000yqh.googlegroups.com...
> On Jun 5, 8:16 pm, "Ken Schaefer" <kenREM...(a)THISadOpenStatic.com>
> wrote:
>> You must have at least one user account - the one you've logged onto the
>> machine with (unless you are using Windows 98/ME)
>>
>
> Thanks for the reply... I entered the user and pass of the account
> I've logged into the machine with (as you mentioned) and I get an
> authentication error. You say, "you must have at least one user
> account", and I do... because if I didn't, I could even get to the
> desktop, nor a browser, nor IIS Manager. But since I'm getting
> authentication errors, what other account is IIS looking for?

From: .._.. on
IIS has two layers; IIS layer with permissions and a directory tree, and
the file layer, with permissions and a directory tree.

If it is not set to authenticate in the IIS layer, the authentication is
probably due to permissions on the file layer. So go in via Windows
Explorer and look at the permissions on the directory tree. Make sure the
IUSR_machine account has at least read access to the files using Windows
Explorer "Permissions"

If you did that, then check the permissions in IIS. They BOTH have to be
set right for it to work anonymously.

"Adam Sandler" <corn29(a)excite.com> wrote in message
news:57de4992-b9d5-4608-a557-ce9dcb078bd1(a)j4g2000yqh.googlegroups.com...
On Jun 5, 8:16 pm, "Ken Schaefer" <kenREM...(a)THISadOpenStatic.com>
wrote:
> You must have at least one user account - the one you've logged onto the
> machine with (unless you are using Windows 98/ME)
>

Thanks for the reply... I entered the user and pass of the account
I've logged into the machine with (as you mentioned) and I get an
authentication error. You say, "you must have at least one user
account", and I do... because if I didn't, I could even get to the
desktop, nor a browser, nor IIS Manager. But since I'm getting
authentication errors, what other account is IIS looking for?