Access denied

Discussion in 'Databases' started by JT, Feb 5, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. JT

    JT

    I am getting an access denied message when my .aspx page is loaded. I think it is a permission settings problem, although I'm unsure how to resolve it.


    Do I need to impersonate a given user? -

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.


    Alternatively, it might be a permissions setting in Access that I need to change.

    Thanks for any help.

    JT
     
  2. JT

    JT

    Did I leave something out in my code by chance? I've been Googling around for some answers and nothing yet. Is it an Access 2000 permissions problem? If so, what should I set the permissions to?

    Thanks

    JT
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Please post the URL.

    You do not need to impersonate.

    quote:Originally posted by JT

    I am getting an access denied message when my .aspx page is loaded. I think it is a permission settings problem, although I'm unsure how to resolve it.


    Do I need to impersonate a given user? -

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.


    Alternatively, it might be a permissions setting in Access that I need to change.

    Thanks for any help.

    JT
    </blockquote id="quote"></font id="quote">
     
  4. JT

    JT

    http://www.aivanproject.com/aivanchat/version1.aspx

    quote:Originally posted by bruce

    Please post the URL.

    You do not need to impersonate.

    quote:Originally posted by JT

    I am getting an access denied message when my .aspx page is loaded. I think it is a permission settings problem, although I'm unsure how to resolve it.


    Do I need to impersonate a given user? -

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.


    Alternatively, it might be a permissions setting in Access that I need to change.

    Thanks for any help.

    JT
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    I hit the page you provided but since your code wasn't compiled with debugging information, I can't really tell what happened. Try recompile w/ debug info.

    You are probably trying to access some restricted components on the server.


    quote:Originally posted by JT

    Did I leave something out in my code by chance? I've been Googling around for some answers and nothing yet. Is it an Access 2000 permissions problem? If so, what should I set the permissions to?

    Thanks

    JT
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page