My Oracle Support Banner

Error Running SiebelApplication.LoadObjects Using Perl (Doc ID 509857.1)

Last updated on NOVEMBER 27, 2019

Applies to:

Siebel Tools - Version [16180] and later
z*OBSOLETE: Microsoft Windows 2000
Version: [16180]

Database: Oracle 9i

Application Server OS: Microsoft Windows 2000 Advanced Server SP 4

Database Server OS: IBM AIX 5L 5.2

This document was previously published as Siebel SR 38-1734854221.


I am trying to use the LoadObjects Method of SiebelDataServer.ApplicationObject in Perl with the following code...

use Win32::OLE;

$cfg_file = 'C:\sea752\client\BIN\ENU\sfs_prodsupp753.cfg';

$siebApp = Win32::OLE->GetActiveObject('SiebelDataServer.ApplicationObject');
if(!$siebApp) {
    print "No Active Object Found\n";
    $siebApp = new Win32::OLE('SiebelDataServer.ApplicationObject')
                           || die "Could not create an OLE 'SiebelDataServer.ApplicationObject' object";

$siebApp->LoadObjects($cfg_file, int($errCode)) || die "Load Failed: " . Win32::OLE->LastError();

When I run the code, I receive the following error message...
"Type Mismatch" in METHOD/PROPERTYGET "LoadObjects" Agrument 2.

I've looked at the documentation and this method requires two parameters Configuration-Str & ErrCode-Int.

Would you have any idea why I'm getting this error message? I've tried several variations of the script. I also noticed that a Documentation Enhancement request had been created for this problem in Perl (#12-XSDYK). Does Siebel have any sample code for running SiebelDataServer.ApplicationObject Objects from Perl?




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.