problem with createobject in classic asp

Jul 5, 2011 at 6:27 AM

Hello,

I am using DotNetZip in 'classic asp' to zip files with success for some time now.

However recently (+- 1 week) it stopped working, and is giving me an error 0x8000ffff on the line

where I create the object:

set oZip = CreateObject("Ionic.Zip.ZipFile")

 

Running this code via a VB6 application on the same server works fine.

The cause is probably some windows update? Does anyone else has this same problem or can help me solving it?

 

Thanks,

Robin

 

 

Coordinator
Jul 5, 2011 at 1:25 PM

I don't know.  You may have to unregister and re-register the COM portion of DotNetZip. Check the DNZ documentation for how to do this manually.  BAsically you want to call regsvr32 -u and then regsvr32.  I am only guessing here. It's puzzling that the VB6 version works just fine.

Another possibility is a security issue.  The ASP app is running as a different user than the VB6 app, I suppose. It could be that the ASP app does not have permissions to run the COM object.

Sorry can't be of more help.  I'm interested in the outcome, please post here when you get some progress.

Good luck.

Jul 20, 2011 at 6:45 AM

Thanks for your reply.

I did not manage to solve this. I ended up (re-)writing it in ASP.NET.

 

Thanks & regards.