[thelist] IIS web site problem - include forces 401.3 error

Ken Schaefer Ken at adOpenStatic.com
Tue Nov 15 17:00:33 CST 2005


Windows is very consistent in applying NTFS file ACEs. If you can show
inconsistent behaviour over time, you've found a bug and should report it!
:-)

But Robert is on the right track. Verify NTFS permissions for the file in
question. It appears that whatever account IIS is impersonating for access to
that file does not have sufficient NTFS access rights. Give the account Read
(RX) permissions to that file (Alternatively if the folder that it's in holds
your include files, it may be easier to apply that at the folder level have
it inherited by all files in that folder).

Cheers
Ken

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Robert Vreeland
Sent: Wednesday, 16 November 2005 12:35 AM
To: pixelmech at yahoo.com; thelist at lists.evolt.org
Subject: Re: [thelist] IIS web site problem - include forces 401.3 error

Not sure if this is relevant or not, but check the file permissions on the
directory and file - windows can be inconsistent on applying permissions
depending on how the file got there in the first place. 

Robert 

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Tom Dell'Aringa
Sent: Tuesday, November 15, 2005 9:19 AM
To: thelist
Subject: [thelist] IIS web site problem - include forces 401.3 error

Hi all,

I'm no IIS expert but I've never had a problem like this before setting up
dev sites. I went into IIS, set up a site, set it to a port number (1024 in
this case) fired up a basic ASP file in the root directory. Works just fine.


I add a couple directories and some images. Works just fine. I add a
directory named 'include', put an asp file in there (a web trends script)
and include in my ASP file, and boom, I get this:

"You do not have permission to view this directory or page due to the access
control list (ACL) that is configured for this resource on the Web server."
- 401.3 error.

If I remove the include, it works fine. I tried changing the content of the
include to just text only, but it doesn't matter, using an include locks me
out. I have like 10 other dev sites running right now, none of them have
this problem. 

Anyone have any idea how to fix this or what is going on? Here is the
offending line:

<!-- #include file="include/webtrends.asp" -->

Thanks

Tom



More information about the thelist mailing list