Forum Moderators: open

Message Too Old, No Replies

ASP not working in IIS 4.0

         

awaibe

3:56 pm on Mar 17, 2004 (gmt 0)

10+ Year Member



Each time a user other than the Administrators try to run and .ASP file on my web site it asks for username and password and when they enter their username and password, they will get a message that they do not permission to the resource they are requesting for. Pls do anyone know what i can do to solve the problem.

chuck

mattur

5:33 pm on Mar 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check the file system permissions on the asp files. The IUSR_*yourservername* account is used by IIS for anonymous access, so check whether this account has access rights.

korkus2000

5:34 pm on Mar 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure that anonymous access is allowed on that virtual folder.

awaibe

7:11 am on Mar 18, 2004 (gmt 0)

10+ Year Member



The IUSR_*yourservername* account has access rights on the asp files folders. The asp files still cannot be displayed by users.

TheNige

11:50 pm on Mar 18, 2004 (gmt 0)

10+ Year Member



awaibe: you need to make sure that in the IIS control panel for that website anonymous access is set for that website.

Otherwise it will ask you for username and password. If you are running in a domain then the you need to log on with your domain account. yourdomain\username if you are using WXP as the client or the domain text box is not displayed. Else, you have to log on with a local machine account..that means that you have to use a user account that is set up on that webserver....so of course Administrator will work.

awaibe

9:01 am on Mar 19, 2004 (gmt 0)

10+ Year Member



Hi TheNige:
Admistrators can display the asp pages. The iusr<servername> account is not an administrator. If i include it in the administrator group, Users will display the asp pages. But when i remove it from the administrator group users cannot access the asp pages but they can access htm pages.
Now the issue is How do i give iusr<servername> access to be able to access asp pages without prompting for username and password.
On the vitual directory i have given read access to Everyone and iusr<servername> but it didn't work.

Rgds,
awaibe

dotme

1:40 pm on Mar 19, 2004 (gmt 0)

10+ Year Member



IUSR and Everyone needs read AND execute... not just read. Have you checked that?

Just a thought...

korkus2000

2:09 pm on Mar 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did you click allow annonymous access check box on the virtual folder?

awaibe

3:42 pm on Mar 19, 2004 (gmt 0)

10+ Year Member



Yes I did click allow annonymous access check box on the virtual folder?

mattur

12:02 pm on Mar 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry to hear you're still having problems awaibe. You could try turning on access auditing on the file system to try to diagnose whether the iusr account has all the right permissions on iis program files. Might help point you in the right direction...