View Full Version : Access denied
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
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
bruce
02-06-2004, 12:25 PM
Please post the URL.
You do not need to impersonate.
[b]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">
http://www.aivanproject.com/aivanchat/version1.aspx
[b]quote:Originally posted by bruce
Please post the URL.
You do not need to impersonate.
[b]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">
bruce
02-09-2004, 02:53 AM
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.
[b]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">
vBulletin® ©Jelsoft Enterprises Ltd.