http://www.cfm-resources.com/members/comet/

That site is devoted to making COM and CF work nicely together.  It's not
too detailed yet, but it has a public forum that I'm sure will get more
traffic as time goes by and more people run into COM issues with CF.


> -----Original Message-----
> From: Tom Kim [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 1:18 AM
> To: CF-Talk
> Subject: Using COM with CF
>
>
> Hi,
>
> I'm new to CF and am using version 4.5.1 of both Studio and
> Server. I have a
> COM object that returns a generated integer value. I can use this
> COM object
> in any COM enabled Windows app. However, when I try to use in a cfm page I
> get the following error:
>
> An error occurred while evaluating the expression:
>
>    oASIWeb.SetDataPath("E:\InetPub\wwwroot\SolidData\Data");
>
>    oASIWeb.SetDatabase("sdweb");
>
>    RetVal = oASIWeb.NewID("USERS");
>
> Error near line 4, column 4.
>
> The symbol you have provided (oASIWeb.SetDataPath) is not the name of a
> function.
> Built-in functions in ColdFusion have names with no qualifiers, i.e., no
> periods (.) in them.
>
> It appears that CF thinks I'm trying to run one of its functions.
> My CF code
> is as follows:
>
> <CFOBJECT TYPE="COM" NAME="oASIWeb" CLASS="asiweb.asiweb" ACTION="CREATE">
>
> <CFSCRIPT>
>    oASIWeb.SetDataPath("E:\InetPub\wwwroot\SolidData\Data");
>
>    oASIWeb.SetDatabase("sdweb");
>
>    RetVal = oASIWeb.NewID("USERS");
>
> </CFSCRIPT>
>
> <CFOUTPUT>#RetVal#</CFOUTPUT>
>
> Am I missing something? Do I need to give the IUSR_MachineName account the
> proper security access? If yes, what? Thanks --Tom
>
> ============================
> Tom Kim
> Advanced Systems Integration
> 949-261-5476
> 949-261-0426 Fax
> [EMAIL PROTECTED]
> ============================
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> 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.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.

Reply via email to