By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,046 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

remote execute program

P: n/a
how can i remotly execute program . i have 2 computers A and B . on both of
them i have aplication (myap.exe) myap require 2 parameters. First is mypath
, 2 myfile. for example to execute i write : C:\temp\myaps.exe c:\temp
all.exe .. on my computer it works perfectly.

but when i tried to execute this program on computer B it doesnt work. on
computer A i write in command line

\\klio\perflogs\konsoliduj.exe c:\perflogs calosc.csv

-klio is computer name
konsoliduj.exe my app

and i get error like this :

Unhandled Exception: System.Security.SecurityException: Request for the
of type System.Security.Permissions.SecurityPermission, mscorlib,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
at ConsoleApplication3.Module1.Main()

The state of the failed permission was:
<IPermission class="System.Security.Permissions.SecurityPermiss ion,
mscorlib, Ve
rsion=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
what shall i do ??

Mar 30 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.