The issue you are running into is one of trust, the network location you are trying to run the file from isn't trusted by the .NET Framework... to avoid this problem you will need to run the app from a trusted location... such as locally or raising the trust of the network location with either the .NET Framework Configuration Tool or caspool.
With caspool such a configuration can be as simple as:
caspol.exe -m -ag LocalIntranet_Zone -url \\<network host>\<share name>\ FullTrust -n FullTrustShare
For this o work fine, You have to set Zone permissions within the .Net Configuration tool in Control Panel -> Administrative Tools -> Microsoft .Net Configuration. For more information see Topic Security in .Net Framework on Google Search.
I hope this will work ;-)