4096 Error While Connecting To Siebel Using COM Data Control In Windows 7 Machine (Doc ID 1926863.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 8.1.1.9 [23016] and later
Information in this document applies to any platform.
Reviewed for relevance 07-MAR-2016

Goal

The customer using the below code in Excel Macro to connect to Siebel using COM Data Control.

Set SiebelApplication = CreateObject("SiebelDataControl.SiebelDataControl.1")
OpenSiebelConn = SiebelApplication.Login(ConnectString, userid, pass)
errCode = SiebelApplication.GetLastErrCode()
If errCode <> 0 Then
  ErrText = SiebelApplication.GetLastErrText

This macro has been working fine in windows XP machine.
However when we are trying to run the same in Windows 7 machine we see that the function is returning errCode=4096 and error text is showing blank.
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms