Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 DLL Access Denied error

Author  Topic 

olay80
Yak Posting Veteran

62 Posts

Posted - 2005-04-05 : 03:19:53
hey guys,

i'm not beeing to access a certain DLL it is telling me "ACCESS DENIED" and displaying this message :

/****
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.
****/

knowing that i registered this dll in the regsvr32.
should i add the <identity impersonate... userName....password...../> in webConfig? if yes what are the parameters required?

thanx,
Oliver

olay80
Yak Posting Veteran

62 Posts

Posted - 2005-04-05 : 05:30:57
you need to add the ASPNET user to allow it access to the DLL.

Oliver
Go to Top of Page
   

- Advertisement -