0 Replies Latest reply on Oct 10, 2006 11:11 AM by spotsstang

    Accessing a remote COM object

    spotsstang
      I am trying to connect from our web server to a remote COM object but am having several issue. Below is the code i am using and the error i am getting. Any suggestions or alternat methods appreciate.

      <CFOBJECT ACTION="CREATE" NAME="getLogin" CLASS={E2C4CAF9-06D2-4D0E-979F-49AFD1BC9C35} context="remote" server="server:8500"> (server = server IP)

      <cfset iCompanyID = 100>
      <cfset lAccountNumber = 2839>
      <cfset cSysUser = "WebUser">
      <cfset lRetCode = "">

      <CFSET resultSet=getLogin.GetGeneralInfo(iCompanyID, lAccountNumber, cSysUser, lRetCode)>

      Error Message:
      Error Diagnostic Information
      Error trying to create object specified in the tag.

      COM error 0x800706BA. The RPC server is unavailable.

      The error occurred while processing an element with a general identifier of (CFOBJECT), occupying document position (11:1) to (11:133) in the template file D:\DBrothers.com\www\api\generalCustomerInformation.cfm.

      Date/Time: 10/10/06 13:03:23
      Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
      Remote Address: 216.15.65.22

      Thanks!