PTL logo

From: Lorenzo Dematté (dematte_at_[hidden])
Date: 2008-06-14 06:53:05


It is the same problem you have when executing .NET assemblies from
network shares.
You need to add your share to the trusted locations (don't remember
exactly where)

Regards,
Lorenzo

Kotelnikov E.V. wrote:
>
> Dear sirs,
>
> I start to use MPI.NET, but I have a problem.
>
> I have the cluster based on MS Compute Cluster Server 2003 (two nodes,
> Gigabit Ethernet), mpiexec and Job Scheduler work normally. I
> installed MPI.NET on both nodes, the test program (pingpong.exe) work
> correctly (on single machine).
>
> But when I run pingpong.exe from network folder, I get error message:
>
> **********************
>
> Unhandled Exception: System.Security.SecurityException: That assembly
> does not allow partially trusted callers.
>
> at
> System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly
> asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle
> rmh, SecurityAction action, Object demand, IPermission permThatFailed)
>
> at MPIHello.Program.Main(String[] args)
>
> The action that failed was:
>
> LinkDemand
>
> The assembly or AppDomain that failed was:
>
> MPIHello, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
>
> The Zone of the assembly that failed was:
>
> Internet
>
> The Url of the assembly that failed was:
>
> file://server/shared/MPIhello.exe
> <file:///%5C%5Cserver%5Cshared%5CMPIhello.exe>
>
> ***********************
>
> In .NET Framework 2.0 Configuration / Runtime Security Policy for all
> Code Groups is set to FullTrust, but it doesn’t help.
>
> Can you help me? I'd be very thankful.
>
> I’m sorry for my poor English, please.
>
> Evgeniy, Russia
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mpi.net mailing list
> mpi.net_at_[hidden]
> http://www.osl.iu.edu/mailman/listinfo.cgi/mpi.net
>