Google

2007-02-06

IIS Permission Denied Error

I had some asp pages that worked fine on IIS5/w2K but gave me an error like below on IIS6/W2K3.

Microsoft VBScript runtime error '800a0046'
Permission denied
/SelfService/e360.asp, line 69

I searched thru MS site but could not come up with anything. I found my answer on ASP emporium site.

Line 69 has an OpenTextFile command with option 8 to modify and IUSR_ did not have rights to write into that file/folder. To fix it,

- Created a local user acc
- IIS Manager > Browse to Web sites > Default Web Site >> Properties > Directory Security > Edit > Set User name:MachineName\, Password: password
- Give Write Permission to on C:\Inetpub\wwwroot

2 comments:

Kinan said...

I'm facing this issue now with Vista. The problem that I DON't want to use anonymous access.
Simpley, I need each user to authenticate (which happens through Integrated authentication) and upload their own files.
However, unless I enable the anonymous access I keep get the Permission denied error.
Any clue?

Adil Hindistan said...

Kinan,

Have you given users write permission on the folder? You may