This is my first use of CFOBJECT. What does the "dll was not loaded"
error message below mean? The dll is registered on the server and the
<cfobject action="create" appears to execute correctly. The call to the
Login() method is generating the error. It appears the object is being
created by CF, since if I try to set an invalid property, say 'GM.blah =
"blah"' then I get an 'Unknown name' COM error. Is it possible that CF
can instantiate the object without loading the dll (just because the dll
is registered on the server)? Code and error message follow.
Thanks,
Jim
<cfobject type="COM"
action="create"
class="GMComAPI.Application"
name="GM">
<cfset GM.CommonFolder = "MSSQL: GoldMine_Sales_And_Marketing: dbo:">
<cfset GM.SystemFolder = "\\SQLTEST\GoldMine\">
<cfset GM.GoldMineFolder = "MSSQL: GoldMine_Sales_And_Marketing: dbo:">
<cfset GM.GMUserName = "ADMIN">
<cfset GM.SQLUsername = "sa">
<cfset GM.SQLPassword = "xyz">
<cfset dummy = GM.Login()>
-----------------------------------------------------------------------
Error Occurred While Processing Request
Error Diagnostic Information
The GoldMine dll was not loaded.
The error occurred while processing an element with a general identifier
of (CFSET), occupying document position (94:1) to (94:26) in the
template file d:\web\tqp\test.cfm
The specific sequence of files included or processed is:
D:\WEB\TQP\TEST.CFM .
Date/Time: 09/11/00 21:03:04
Browser: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
Remote Address: 206.168.47.60
Template: d:\web\moguls\tqp\mgmt\test.cfm
-----------------------------------------------------------------------
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.