[
  {
    "Id": "218740",
    "ThreadId": "64294",
    "Html": "<p>Hi Cheeso,</p>\r\n<p>We are experiencing the following issue when trying to execute a sfx across a network share whilst logged onto a windows 2003 platform. This issue doesn't appear to happen across 2 windows 2000 platforms. I was wondering if you could shed some light on the issue.</p>\r\n<p>cheers Nick</p>\r\n<p><br>Z:\\Blah\\GSC\\Blah\\utterances\\archiver&gt;20090519niktest<br><br>Unhandled Exception: System.TypeInitializationException: The type initializer fo<br>r 'Ionic.Zip.WinFormsSelfExtractorStub' threw an exception. ---&gt; System.Security<br>.SecurityException: Request for the permission of type 'System.Security.Permissi<br>ons.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyTok<br>en=b77a5c561934e089' failed.<br>&nbsp;&nbsp; at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly a<br>sm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, Secur<br>ityAction action, Object demand, IPermission permThatFailed)<br>&nbsp;&nbsp; at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object ass<br>emblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle<br>&nbsp;rmh, SecurityAction action, Object demand, IPermission permThatFailed)<br>&nbsp;&nbsp; at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet gran<br>ts, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Objec<br>t assemblyOrString, SecurityAction action, Boolean throwException)<br>&nbsp;&nbsp; at System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack cs<br>, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMet<br>hodHandle rmh, Assembly asm, SecurityAction action)<br>&nbsp;&nbsp; at Ionic.Zip.WinFormsSelfExtractorStub..cctor()<br>The action that failed was:<br>LinkDemand<br>The type of the first permission that failed was:<br>System.Security.Permissions.SecurityPermission<br>The first permission that failed was:<br>&lt;IPermission<br>version=&quot;1&quot;<br>Flags=&quot;ControlAppDomain&quot;/&gt;<br><br>The demand was for:<br>&lt;PermissionSet<br>version=&quot;1&quot;&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Flags=&quot;ControlAppDomain&quot;/&gt;<br>&lt;/PermissionSet&gt;<br><br>The granted set of the failing assembly was:<br>&lt;PermissionSet<br>version=&quot;1&quot;&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Access=&quot;Open&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Allowed=&quot;ApplicationIsolationByUser&quot;<br>UserQuota=&quot;512000&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Flags=&quot;Execution&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Window=&quot;SafeTopLevelWindows&quot;<br>Clipboard=&quot;OwnClipboard&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Url=&quot;file:///Z:/Blah/GSC/Blah/utterances/archiver/20090519niktest.exe&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Zone=&quot;Internet&quot;/&gt;<br>&lt;IPermission<br>version=&quot;1&quot;<br>Level=&quot;SafePrinting&quot;/&gt;<br>&lt;/PermissionSet&gt;<br><br>The assembly or AppDomain that failed was:<br>Ionic.Zip-2009Jul27-230057-1, Version=1.8.3.25, Culture=neutral, PublicKeyToken=<br>null<br>The Zone of the assembly that failed was:<br>Internet<br>The Url of the assembly that failed was:<br>file:///Z:/Blah/GSC/Blah/utterances/archiver/20090519niktest.exe<br>&nbsp;&nbsp; --- End of inner exception stack trace ---<br>&nbsp;&nbsp; at Ionic.Zip.WinFormsSelfExtractorStub..ctor()<br>&nbsp;&nbsp; at Ionic.Zip.WinFormsSelfExtractorStubProgram.Main(</p>",
    "PostedDate": "2009-08-03T04:57:08.163-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "218890",
    "ThreadId": "64294",
    "Html": "<p>The problem has to do with the way the SFX packages the DotNetZip dll.&nbsp; The DLL is embedded as a resource, and in order to load that assembly, the application has to plug-in to the assembly resolution logic, which apparently is restricted for applications that run from the network.</p>\r\n<p>For now, I think the only workaround is to copy the SFX locally.&nbsp; I will look into a remedy.</p>",
    "PostedDate": "2009-08-03T11:17:59.663-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "219168",
    "ThreadId": "64294",
    "Html": "<p>ok... thanks</p>\r\n<p>Nick</p>",
    "PostedDate": "2009-08-04T03:03:52.553-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "252620",
    "ThreadId": "64294",
    "Html": "<p>Hi,</p>\r\n<p>I am having the same exception, any solution, please share with me.</p>\r\n<p>Thanks</p>\r\n<p>Riaz Afridi</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-11-02T17:41:03.27-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "252756",
    "ThreadId": "64294",
    "Html": "<p>the only workaround is to copy the SFX locally.</p>",
    "PostedDate": "2009-11-03T04:00:14.297-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]