Link to home
Start Free TrialLog in
Avatar of GuitarRich
GuitarRichFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Error 401.2 Access Denied Error

I have an asp.net web app built in VS2008. This works fine on my dev laptop. I have uploaded to a server running Windows 2003 Server Web Edition and setup a new web site in IIS6. The server already runs a couple of asp.net 1.1 websites with no problems, this is the first asp.net 2.0 site.

I have set all the permissions - the Network Server account & the IUSR account have read permissions on the folder of the site. The site is set to allow anonymous access with the ISUR user. I've set everything I can think of but it still gives me access denied error 401.2

If I set the ASP.Net version to 1.1 - the site runs but obviously errors because it can't run asp.net 2.0 code - it doesn't recognize the code behind.

I have put the new site in its own application pool so it doesn't conflict with the other sites on the server, but nothing I seem to do works. Can anyone pleeeease help!
ASKER CERTIFIED SOLUTION
Avatar of Faheem Shaikh
Faheem Shaikh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GuitarRich

ASKER

No files are being written - it doens't work even if the default page is just index.html with nothing but hello world in it. I think the error occurs before any asp.net code gets run.
Ok - I take that back, just double checked and I can get to an index.html ok.  The default page is re-directing to 2 other pages depending on whether you are browsing via a PDA, Mobile Phone or Browser.
I'll check there next.
Ok, great!
never mind - it was me being very stupid and not noticing a web.config in a sub folder that was being re-directed too.
thanks for helping me to see the obvious!!
Cheers!!!!