Hi, I have created a simple console application that gets the users username and computer name and updates a sql database so admin staff can find the computer the users are logged onto. The problem I have run into is I want this to run from a network share each time they logon and I can't figure out how to do it. If I install it locally and run it on logon it works fine, but I was hoping since is such a simple program that doesn't require user interaction I could just run it from a network share and not have to deploy it. Is this possible Thanks in advance for the help!!

Run Console Application from Remote Share!
angjbs
Pajaro
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 ;-)
MitchMc
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