|
-
December 16th, 2008, 02:07 PM
#1
ASPX / IIS Permissions problem
I'm setting up IIS 5.1 on XP Pro SP2. I have a virtual directory with a .HTM and 2 .ASPX files. IIS can see all 3 files from its explorer and it can display the the .HTM file in its browser with no problem but I get a file access problem ...
Server cannot access application directory 'C:\Documents and Settings\peter\My Documents\SW\WebProg\SW\HelloWorld\HelloWorldVirtDir\'. The directory does not exist or is not accessible because of security settings.
... on the two ASPX files.
If I put all 3 files in Inetpub\wwwroot there's no problem displaying any of them.
I set the permissions for my virtual directory path to be the same as the InetPub\wwwroot for IUSR_<machinename> and IWAM_<machinename> but it didn't help. So I set my whole C: drive to have those permission for those two accounts, but it still didn't help!
Suggestions? Thanks in advance!
-
December 21st, 2008, 11:01 AM
#2
Re: ASPX / IIS Permissions problem
you also need to set the permissions of those folders for the ASPNET account.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|