Hi guys
I've got a COM object which takes a SQL statement, creates an excel spreadsheet, saves it, then throws back the path. I've got it working on a dev server fine but when I copy it to a live server I get the following message:-
Disk or network error
The error occured while processing an element with a general identifier of (CFSET), occupying . . . etc etc
Here's the CFOBJECT tag and the offending CFSET:-
<CFOBJECT CLASS="ClientSQL.ClientXLGen"
ACTION="CREATE"
NAME="XLTest">
<CFSET Test1 = XLTest.GenXL('#MyVBSQL#', '#Form.ReportName#', #Session.UserID#, "Office97"
>
I can't see any difference between the dev server and the live server - the code is the same, the directory structure is the same, the exe is the same and is viewable through oleview (ie. it seems to have been installed ok).
What I don't understand is why I'm getting a 'disk or network error' rather than a COM error?
Anything spring to mind that I might be overlooking?
I've had a look at which is a good resource for ColdFusion/COM, but to no avail.
I've got a COM object which takes a SQL statement, creates an excel spreadsheet, saves it, then throws back the path. I've got it working on a dev server fine but when I copy it to a live server I get the following message:-
Disk or network error
The error occured while processing an element with a general identifier of (CFSET), occupying . . . etc etc
Here's the CFOBJECT tag and the offending CFSET:-
<CFOBJECT CLASS="ClientSQL.ClientXLGen"
ACTION="CREATE"
NAME="XLTest">
<CFSET Test1 = XLTest.GenXL('#MyVBSQL#', '#Form.ReportName#', #Session.UserID#, "Office97"
I can't see any difference between the dev server and the live server - the code is the same, the directory structure is the same, the exe is the same and is viewable through oleview (ie. it seems to have been installed ok).
What I don't understand is why I'm getting a 'disk or network error' rather than a COM error?
Anything spring to mind that I might be overlooking?
I've had a look at which is a good resource for ColdFusion/COM, but to no avail.