Unhandled Exception: System.Security.SecurityException
description
When run from a network share it generates an exception:
P:> expressmaint -?
Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
.
.
where "P:" is a network share.
The work around is not to run it from a network share but this is not ideal for us.