How can I create win application that may launch through local network from another PC, where it is installed?
Launching application through local network from another PC
Collapse
X
-
Originally posted by karenRossWhat is the purpose of doing this? What is the goal?
When I start application through network appears below error:
System.Security .SecurityExcept ion was unhandled
Message="That assembly does not allow partially trusted callers."
Source="SqlTool "
StackTrace:
at System.Security .CodeAccessSecu rityEngine.Thro wSecurityExcept ion(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHa ndle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at SqlTool.frmSql. Main()
at System.AppDomai n.nExecuteAssem bly(Assembly assembly, String[] args)
at System.AppDomai n.ExecuteAssemb ly(String assemblyFile, Evidence assemblySecurit y, String[] args)
at Microsoft.Visua lStudio.Hosting Process.HostPro c.RunUsersAssem bly()
at System.Threadin g.ThreadHelper. ThreadStart_Con text(Object state)
at System.Threadin g.ExecutionCont ext.runTryCode( Object userData)
at System.Runtime. CompilerService s.RuntimeHelper s.ExecuteCodeWi thGuaranteedCle anup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threadin g.ExecutionCont ext.RunInternal (ExecutionConte xt executionContex t, ContextCallback callback, Object state)
at System.Threadin g.ExecutionCont ext.Run(Executi onContext executionContex t, ContextCallback callback, Object state)
at System.Threadin g.ThreadHelper. ThreadStart()
How to solve this problem?
Thanks for any help.Comment
Comment