Does anyone have any experience getting this combo to work?  I really don't
want to rewrite this bit of code using cfdocument, but I will if I need to.

Right now this works in MX 6.1, but not in 7:

<CFOBJECT ACTION="Create" TYPE="COM" CLASS="APSERVER.Object"
NAME="APServer">
<CFSET APServer.OutputDirectory = ExpandPath("./results")>

<CFSET APSettings = APServer.ToString()>
<CFOBJECT ACTION="Create" TYPE="COM" CLASS=APWebGrabber.Object
NAME="WebGrabber">
<CFSET WebGrabber.EngineToUse = 1>

The error is:

An exception occurred when instantiating a Com object.
The cause of this exception was that:
coldfusion.runtime.com.ComObjectInstantiationException: An exception
occurred when instantiating a Com object..

The error occurred in E:\sites\SAA\coop2\output\dc\TMP2gpacu9s06.cfm: line 1
Called from E:\sites\SAA\coop2\output\dc\TMP2gpacu9s06.cfm: line 1
Called from E:\sites\SAA\coop2\output\dc\TMP2gpacu9s06.cfm: line 1

1 : <CFOBJECT ACTION="Create" TYPE="COM" CLASS="APSERVER.Object"
NAME="APServer">
2 : <CFSET APServer.OutputDirectory = ExpandPath("./results")>
3 :



Lots of help there :)


Tim


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231411
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to