[
  {
    "Id": "515445",
    "ThreadId": "233050",
    "Html": "\r\n<p>I have been trying to create the COM object through PHP on a Windows 2008 Server running IIS and I get the error: Could not create COM object 'Ionic.Zip.Zipfile' -Catastrophic Failure.</p>\r\n<p>It was working perfectly on my development environment using Apache, could anybody point me in the right direction here please?</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<div id=\"x__mcePaste\" style=\"left:-10000px; top:0px; width:1px; height:1px; overflow:hidden\">\r\n<img src=\"file:///C:/DOCUME%7E1/lisaf/LOCALS%7E1/Temp/moz-screenshot-15.png\" alt=\"\"></div>\r\n",
    "PostedDate": "2010-11-01T08:41:15.627-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "516243",
    "ThreadId": "233050",
    "Html": "\r\n<p>It's a basic COM error.&nbsp;&nbsp;COM is the activation model that PHP can use to&nbsp;utilize DotNetZip.&nbsp; I can't say why COM is not able to activate DotNetZip.</p>\r\n<p>To troubleshoot this, I suggest that you first verify the COM configuration of DotNetZip on the &quot;live&quot; machine.&nbsp; I suggest these steps or stages.</p>\r\n<ol>\r\n<li>use the oleview tool (part of the (free) Windows SDK I think) to verify that the DotNetZip COM component is actually installed, and can be activated.&nbsp;&nbsp; If it is not installed, then install it.&nbsp; Check the DotNetZip documentation for how to\r\n do so.&nbsp; If it is installed but cannot be activated, check the security on the object. Verify the ACLs.\r\n</li><li>run a powershell script to verify that you can load DotNetZip (Ionic.Zip.dll) from a script.&nbsp;&nbsp; If this does not work, double-check the location of the DLL.&nbsp; Verify that the correct location is used in the powershell script, and verify that\r\n this location is also configured in the COM registry entries (via oleview). </li><li>Verify that you can run a .NET application on the live server. DotNetZip requires .NET 2.0 or 3.0 or 3.5.&nbsp; .NET 4.0 won't satisfy. &nbsp;\r\n</li><li>run a VBScript (use a sample from the DotNetZip source code or documentation) that activates the DotNetZip COM object.&nbsp;&nbsp;&nbsp;\r\n</li><li>try the same thing with PHP, but outside the IIS environment.&nbsp; </li><li>Finally, try the PHP Script running within IIS. </li></ol>\r\n<p>Good luck!</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2010-11-02T19:45:48.533-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]