I have just tried the most basic HELLO WORLD ASP and I am still getting the
authetication prompt. I have Win2KServ, IIS5. I still think it is
permissions, and I have it set as ;
ANONYMOUS ACCESS; Checked
INTEGRATED WINDS AUTH: Tried both checked and unchecked (unchecked just says
that 'You are not auth. to view this page')
USER NAME: IUSR_TESTSERV

I have just set up a basic (so far internal) web page with a basic
default.htm and menu.asp. When I go to www.website.com, it brings up the
defualt.htm page with no problems. If I go to www.website.com\menu.asp, it
immediately prompts for the Login/ Pass/ Domain. Both the ASP and the HTM
files are in the same directory withthe same permissions.

If I enter the admin login and pass for the server, it displays the page
properly with no issues. Otherwise, it says YOU ARE NOT AUTH. TO VIEW THIS
PAGE.

Why does this do this for the ASP and not the HTM? Both files are in the
same directory with the same persmissions.

I appreciate the help.

ASP Authentication issue by doug

doug
Wed Dec 17 12:26:28 CST 2003

Is your menu.asp page accessing anything outside of that
directory that do not have the proper permissions...like
an image file or something?

Check your logs also and see where the actual 401 error
is. Check the event viewer also for errors.

doug


>-----Original Message-----
>I have just tried the most basic HELLO WORLD ASP and I
am still getting the
>authetication prompt. I have Win2KServ, IIS5. I still
think it is
>permissions, and I have it set as ;
>ANONYMOUS ACCESS; Checked
>INTEGRATED WINDS AUTH: Tried both checked and unchecked
(unchecked just says
>that 'You are not auth. to view this page')
>USER NAME: IUSR_TESTSERV
>
>I have just set up a basic (so far internal) web page
with a basic
>default.htm and menu.asp. When I go to www.website.com,
it brings up the
>defualt.htm page with no problems. If I go to
www.website.com\menu.asp, it
>immediately prompts for the Login/ Pass/ Domain. Both
the ASP and the HTM
>files are in the same directory withthe same permissions.
>
>If I enter the admin login and pass for the server, it
displays the page
>properly with no issues. Otherwise, it says YOU ARE NOT
AUTH. TO VIEW THIS
>PAGE.
>
>Why does this do this for the ASP and not the HTM? Both
files are in the
>same directory with the same persmissions.
>
>I appreciate the help.
>
>
>
>.
>

Re: ASP Authentication issue by Tom

Tom
Wed Dec 17 14:40:18 CST 2003

"Jose Mariscal" <jmariscal@ttcmarketingsolutions.com> wrote in message
news:e21XLuLxDHA.2720@TK2MSFTNGP09.phx.gbl...
> I have just tried the most basic HELLO WORLD ASP and I am still getting
the
> authetication prompt. I have Win2KServ, IIS5. I still think it is
> permissions, and I have it set as ;
> ANONYMOUS ACCESS; Checked
> INTEGRATED WINDS AUTH: Tried both checked and unchecked (unchecked just
says
> that 'You are not auth. to view this page')
> USER NAME: IUSR_TESTSERV
>
> I have just set up a basic (so far internal) web page with a basic
> default.htm and menu.asp. When I go to www.website.com, it brings up the
> defualt.htm page with no problems. If I go to www.website.com\menu.asp,
it
> immediately prompts for the Login/ Pass/ Domain. Both the ASP and the HTM
> files are in the same directory withthe same permissions.
>
> If I enter the admin login and pass for the server, it displays the page
> properly with no issues. Otherwise, it says YOU ARE NOT AUTH. TO VIEW
THIS
> PAGE.
>
> Why does this do this for the ASP and not the HTM? Both files are in the
> same directory with the same persmissions.

Make sure IUSR has NTFS permissions to asp.dll ...

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/




RE: ASP Authentication issue by yonlinemanghn

yonlinemanghn
Thu Jan 01 20:24:12 CST 2004

Jose,
This definitely sounds like a permissions issue and the best tools to use
would be Filemon and Regmon from www.sysinternals.com
1) Download the tools from the above link
2) Enable only Anonymous access to the site
3) Start Filemon and Regmon (order does not matter)
4) Repro the problem by browsing the asp page.
5) Save the logs from the two tools and search for Access Denied or
AccDenied to find out which file or registry key is inaccessible by the
IUSR account.

It could be possible also that the IUSR account is out of sync in which
case you can follow steps in
http://support.microsoft.com/default.aspx?scid=kb;en-us;297989 (Method2 is
easier) for the IUSR account.

Thanks,
Yogita Manghnani
Microsoft Developer Support
Internet Information Server

*********************************************************************
>>Please do not send email directly to this alias. This is an online
account name for newsgroup participation only.<<

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.

© 2003 Microsoft Corporation. All rights reserved.
*********************************************************************