System.Unauthorized.Access.Exception

G

Guest

ASP.NET is not authorized to access the requested resource is the error. I
am using impersonation and have impersonate =true, also anymonous access for
the virtual directory is not enabled so it should be using the windows
authentication. This is on Server2003 machine. The same code works fine on
a windows xp machine which is the development machine. Any ideas? Thanks.
 
C

cbDevelopment

I would turn on trace and add a trace.write line for the currentprincipal.
That should tell you who the code is running as.

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top