System.UnauthorizedAccessException

  • Thread starter Thread starter James
  • Start date Start date
J

James

Hi,

I am trying to call a dll (unmanaged) from an asp.net application. But I
am getting the following error:

Access is denied.

Exception Details: System.UnauthorizedAccessException: Access is denied.

Other information:
II6.
Windows 2003 server.


Can someone help to find out how i can solve this issue?

Thanks in advance
-James
 
the user asp_net not access to component
set the roles, if this COM+ is in the machine where run ASP.NET
or modifie the machin.config where processmodel tag the user and password

and run this for user of the network with right correctly for MTS
cacls "C:\WINNT\Microsoft.NET" /T /E /C /P domain\userofnetwork:R
cacls "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files"
/T /E /C /P domain\userofnetwork:C
cacls "C:\WINNT\temp" /T /E /C /P domain\userofnetwork:C
cacls "C:\inetpub\wwwroot" /T /E /C /P domain\userofnetwork:R
cacls "d:\websites" /T /E /C /P domain\userofnetwork:R
cacls "C:\WINNT\assembly" /T /E /C /P domain\userofnetwork:R
 
Hello Sergio,

Thanks for your answer and time. But unfortinally i didnt understand how to
solve my issue. Could you or someone else explain it a little more? Or maybe
a link where I can read about it?

Thanx
-James
 
s
James said:
Hello Sergio,

Thanks for your answer and time. But unfortinally i didnt understand how
to
solve my issue. Could you or someone else explain it a little more? Or
maybe
a link where I can read about it?

Thanx
-James
 
Back
Top