title: Application has generated an exception that can't be handled
body: <p>Getting this error when transferring a program to a new domain and new servers, and only for a few users:</p>
  
  <pre><code>"Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."
  
  at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken)
  at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark&amp; stackMark, Int32 checkFrames, Int32 unrestrictedOverride)
  at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark&amp; stackMark)
  at System.Security.CodeAccessPermission.Demand()
  at System.Windows.Forms.FileDialog.set_Title(String value)
  at mainForm.InitializeComponent() in C:\MyProjects\DTSExecuter.root\DTSExecuter\DWMaintenance\mainForm.vb:line 88
  at mainForm..ctor() in C:\MyProjects\DTSExecuter.root\DTSExecuter\DWMaintenance\mainForm.vb:line 16
  at mainForm.Main() in C:\MyProjects\DTSExecuter.root\DTSExecuter\DWMaintenance\mainForm.vb:line 4
  </code></pre>
  
  <p>My machine runs the application just fine, as do other users, but there are a small few users who get 
  an "Application has generated an exception that could not be handled." error box, and when debugging it returns the above error. This is a legacy application that we may not have access to source code for, and it just changed connection strings within the internal connection manager. That was the only change to the application other than running on a new domain.</p>