Groups | Blog | Home
all groups > iis security > may 2004 >

iis security : Missing ASPNET Account



JAS
5/6/2004 3:28:52 AM
I have just installed .NET Framework 1.1 via Windows
Update on a Wndows 2000 server, setup a virutal directory
for my website and added some test pages. On testing, my
aspx pages return the error message "Server cannot access
application directory" (.htm and .asp pages work as
normal.)

Apparently, I need to grant read, execute, and list access
to the user account ASPNET. Unfortunately, the ASPNET user
does not exist on my server.

Q: Have I missed out a step? Can I simply set the ASPNET
account up manually or do I need to install something?

If you are able to point me in the right direction, I
would appreciate your expertise.
JAS
5/6/2004 7:38:53 PM
Thanks Ken!

Assigning read, execute, and list access permissions to
the user IWAM_MyServerName on the folder holding my
virtual website has cured the problem.

[quoted text, click to view]
Ken Schaefer
5/6/2004 9:20:53 PM
a) Is this machine a domain controller? If so:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;315158

b) Otherwise, run
aspnet_regiis.exe -i
located in c:\winnt\Microsoft.Net\framework\<version number>\


[quoted text, click to view]
: I have just installed .NET Framework 1.1 via Windows
: Update on a Wndows 2000 server, setup a virutal directory
: for my website and added some test pages. On testing, my
: aspx pages return the error message "Server cannot access
: application directory" (.htm and .asp pages work as
: normal.)
:
: Apparently, I need to grant read, execute, and list access
: to the user account ASPNET. Unfortunately, the ASPNET user
: does not exist on my server.
:
: Q: Have I missed out a step? Can I simply set the ASPNET
: account up manually or do I need to install something?
:
: If you are able to point me in the right direction, I
: would appreciate your expertise.
:

AddThis Social Bookmark Button