Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> COM Automation

COM Automation

From: Sean Dillon <sean_at_digisys.net>
Date: Fri, 3 Sep 1999 16:49:49 -0600
Message-ID: <7qpjqd$n83$1@ruby.digisys.net>


I have stepped through the installation procedure word for word, and have done everything in the online docs. I can't seem to get it to work, though. Here's my test script:

declare
  i number;
  applicationToken binary_integer := -1;

  error_src varchar2(255);
  error_description varchar2(255);
  error_helpfile varchar2(255);
  error_helpID binary_integer;

begin
  i := ORDCOM.CreateObject('ASPChart.Chart', 0, '', applicationToken);   dbms_output.put_line('i = ' || i);
  if i = 0 then
    dbms_output.put_line('Success!');
    i := ORDCOM.DestroyObject(applicationToken);   else
    dbms_output.put_line('failed');
    ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
    dbms_output.put_line(error_src);
    dbms_output.put_line(error_description);
    dbms_output.put_line(error_helpfile);
  end if;
  dbms_output.put_line('done');
end;
/

I've tried several different COM objects, both on the server and remote, and always get:

i = -2147467259
failed
COM-0004: The registered CLSID for the ProgID is invalid. done

PL/SQL procedure successfully completed.

I use the particular COM object in the example, ASPChart.Chart, in my web application on the same server so I know it's valid, etc.

Any ideas?

Yes, my listener is configured to run as a user (Administrator)instead of SYSTEM. Thanks. Received on Fri Sep 03 1999 - 17:49:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US