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
Post a Comment