System.UnauthorizedAccessException

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
 
S

sergio

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
 
J

James

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
 
J

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top