[ L a d y @ 06.06.2007. 09:58 ] @
Kako moze da se pokrene win aplikacija kroz mrezu sa drugog racunara na kome je instalirana, na nasem racunaru?
Prilikom pokusaja javlja mi se sledeca greska:

System.Security.SecurityException was unhandled
Message="That assembly does not allow partially trusted callers."
Source="SqlTool"
StackTrace:
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted,

PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at SqlTool.frmSql.Main()
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code,

CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback

callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback,

Object state)
at System.Threading.ThreadHelper.ThreadStart()


Koja su sigurnosna podesavanja potrebna da bi se ovaj problem resio?

[ mmix @ 06.06.2007. 13:06 ] @
Pogledaj ovde za vise detalja:

http://www.elitesecurity.org/p1104187
[ L a d y @ 07.06.2007. 08:24 ] @
Da li je moguce pokrenuti C# aplikaciju kroz lokalnu mrezu sa drugog PC gde je instaliran .NET Framework, ako nije instaliran na nasem PC?
[ Shadowed @ 07.06.2007. 08:46 ] @
Nope. Moras imati Framework na onom racunaru na kojem se program izvrsava, bez obzira gde se nalazi sam izvrsni (.exe) fajl.