System.Unauthorized.Access.Exception

Discussion in 'ASP .Net' started by =?Utf-8?B?UGF1bA==?=, Jan 19, 2006.

  1. 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.
    --
    Paul G
    Software engineer.
    =?Utf-8?B?UGF1bA==?=, Jan 19, 2006
    #1
    1. Advertising

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

    --
    ----
    700cb Development, Inc.
    http://www.700cb.net
    ..NET utilities, developer tools,
    and enterprise solutions

    "=?Utf-8?B?UGF1bA==?=" <> wrote in
    news::

    > 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.
    cbDevelopment, Mar 13, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Unauthorized Access

    , Oct 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    411
    cbDevelopment
    Nov 13, 2005
  2. Jay Balapa
    Replies:
    2
    Views:
    17,848
    johnny keung
    May 23, 2006
  3. Evan M.

    Redirect Unauthorized Access

    Evan M., May 23, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    483
    bruce barker
    May 23, 2007
  4. aurelius
    Replies:
    0
    Views:
    129
    aurelius
    Sep 26, 2003
  5. Jayakumar

    401 unauthorized exception

    Jayakumar, Oct 9, 2004, in forum: ASP General
    Replies:
    2
    Views:
    195
    Jayakumar Selvaraju
    Oct 11, 2004
Loading...

Share This Page