I've been having a ton of trouble with my .NET application. It continues to fail when I try to run my network drive (but when it runs from a local hard drive, it works fine). I tried fixing the full trust like this:
// Demand full trust permissions
PermissionSet fullTrust = new PermissionSet( PermissionState.Unrestricted );
// Perform normal application logic
catch( SecurityException )
// Report that permissions were not full trust
MessageBox.Show( "This application requires full-trust security permissions to execute." );
But this didn't help at all (the application starts up and the catch block is never entered). Does anyone have a clue why this is happening?