?
Solved

Error 401.2 Access Denied Error

Posted on 2009-04-22
7
Medium Priority
?
748 Views
Last Modified: 2012-05-06
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!
0
Comment
Question by:GuitarRich
  • 4
  • 3
7 Comments
 
LVL 8

Accepted Solution

by:
Faheem Shaikh earned 1500 total points
ID: 24206255
Is your site trying to write to some files, may be a log file or anything. Check if you have proper permissions set for that.
0
 
LVL 12

Author Comment

by:GuitarRich
ID: 24206361
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.
0
 
LVL 12

Author Comment

by:GuitarRich
ID: 24206429
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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 8

Expert Comment

by:Faheem Shaikh
ID: 24206459
Ok, great!
0
 
LVL 12

Author Comment

by:GuitarRich
ID: 24206491
never mind - it was me being very stupid and not noticing a web.config in a sub folder that was being re-directed too.
0
 
LVL 12

Author Closing Comment

by:GuitarRich
ID: 31573342
thanks for helping me to see the obvious!!
0
 
LVL 8

Expert Comment

by:Faheem Shaikh
ID: 24206511
Cheers!!!!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question