Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Error on .Save
lzoumas
Newbie

Posts: 1
Registered: 10/31/2005
Member Is Offline
posted on 10/31/2005 at 08:34 PM Reply With Quote
Error on .Save


Hello,

I am getting this error on our production server...

Active Server Pages error 'ASP 0115'

Unexpected error

/ezedit/ftpExport/act_export.asp

A trappable error (EEDFADE) occurred in an external object. The script cannot continue running.

The code works fine on our development server, as far as i can tell everything is setup the same on both servers. here is the code...

Dim Zip
Dim FileList
Dim FileCount
Set Zip = Server.CreateObject("SoftComplex.Zip")
'create new zip file
Zip.New(strPathToFilename)
'set root folder
Zip.RootDirectory = strDirectory & "temp"
'add files to archive
Zip.FileList.Add("*.*")
'save zip file
FileCount = Zip.Save
Response.End()
Response.Write "File Count: " & FileCount & "<br>"

Thanks in advance,
Lee
View User's Profile View All Posts By User U2U Member
BladeFX
Junior Member

Posts: 3
Registered: 3/20/2006
Member Is Offline
posted on 3/20/2006 at 11:19 AM Reply With Quote

same here.
The testcode works fine, but once applied in an application we get this error.
The zip however is created correctly.
View User's Profile View All Posts By User U2U Member
BladeFX
Junior Member

Posts: 3
Registered: 3/20/2006
Member Is Offline
posted on 3/20/2006 at 03:34 PM Reply With Quote

I found 1 thing.
The error only occurs when the component is used in a function. (haven't tested sub)

+ the zipobject may not be set to nothing, or the same error occurs
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Free Download Free Download
Product Documentation Documentation
Documenation Page
Code Samples
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004