networking - c# launch .exe from a remote folder -


i made .exe program in c# , locally works fine... if put .exe remote path, when launch, gives error.. use framework 2.0 how can solve this?

thanks

edit: error: alt text

and if launch program locally, works fine ( copied folder directories...)

that "code access security"; random network share has very little trust core engine default. 2.0, options are:

  • use clickonce instead (execute .application, not .exe)
  • use caspol.exe (on every client) tell trust share
  • don't deploy way (i.e. use installer)

with of later service packs (it might sp 2, can't remember), mapped shares more trust, i.e. \\server\share won't have enough trust default, h: (which mapped \\server\share) will run.

my preference clickonce deployment since works on versions.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -