Home All Groups Group Topic Archive Search About

Problems calling a Dll...

Author
19 May 2005 11:26 AM
otto
Hi, all: I have a problem when trying to execute a DLL. I explain you:
I have two machines, in two different domains. In one machine I´ve created a
folder that contais a .net windows application. This application is only a
form that calls a DLL. I´m trying to call this applicaction from the other
machine (in other domain) throught "runas" command in the command prompt. The
form of the windows application appears, but when I push the button in order
to call the DLL a security exception raise:
"The application attempted to perform an operation not allowed by the
security policy. The operation required the SecurityException. To gran this
application the required permission please contact your system administrator,
or use the Microsoft .NET security policy administration tool.[...]"
Can anyone help me with this? Thanks a lot in advanced.

Author
19 May 2005 11:47 AM
Nicole Calinoiu
See http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx for an
explanation of why this is happening and how to fix the problem.


Show quoteHide quote
"otto" <o***@discussions.microsoft.com> wrote in message
news:ABFEFC09-B53E-45E7-9314-83C7E221B8E2@microsoft.com...
> Hi, all: I have a problem when trying to execute a DLL. I explain you:
> I have two machines, in two different domains. In one machine I´ve created
> a
> folder that contais a .net windows application. This application is only a
> form that calls a DLL. I´m trying to call this applicaction from the other
> machine (in other domain) throught "runas" command in the command prompt.
> The
> form of the windows application appears, but when I push the button in
> order
> to call the DLL a security exception raise:
> "The application attempted to perform an operation not allowed by the
> security policy. The operation required the SecurityException. To gran
> this
> application the required permission please contact your system
> administrator,
> or use the Microsoft .NET security policy administration tool.[...]"
> Can anyone help me with this? Thanks a lot in advanced.
>