cancel
Showing results for 
Search instead for 
Did you mean: 

Error -2147024891when trying to connect to a 2004 db with DI API

Former Member
0 Kudos

When trying to connect to a SBO 2004 database, I get the error code "-2147024891" with no error message. The error message was not listed in the licensing document.

Has anyone got a clue what this error code is about ?

Best regards,

Henry

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185703
Active Contributor
0 Kudos

Hi Henry,

Did you get connected in the meantime?

Regards,

Frank

Former Member
0 Kudos

Hi,

Yes I did. I have already forgotten how I solved this, but I guess the problem was related to the Windows userid being in a different domain than the server on which the license server runs.

Anyhow, it would be nice if the DI API error messages would always have a description along with the code.

Henry

former_member185703
Active Contributor
0 Kudos

Hi,

-214........ indicates an error code originating in Microsoft Windows. You can find a complete (?) list here:

http://support.microsoft.com/default.aspx?scid=kb;en-us;186063

Unfortunately -2147024891 can have a larger number of reasons..., I know that you had trouble with the currently lacking support of multiple domains in the license mechanism.

Please note that it could also be that DCOM simply has not beeen activated on the client PC - or the server.

Regards,

Frank

Former Member
0 Kudos

I have exactly the same error number.

My escenario is on the other hand. I have installed a client, when I try to say the license manager address, gives me the error with this message: "RPC server not avaiable" (my translation from spanish).

I think it has to do with DCom as you said. Could you tell me exactly which service should I look for?.

Thanks in advance,

Ibai Peñ

former_member185703
Active Contributor
0 Kudos

Besides the fact that Client + Server must be in the same domain (or if in a workgroup must have the same user + password), please check whether or not DCOM has been activated on the server.

Note no. 784607 on SAP Service Marketplace exactly tells you what + how to check:

https://websmp102.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200001513492004

Note no. 776872 gives an overview of the notes around that topic.

HTH,

Frank

Former Member
0 Kudos

Thanks Frank for your reply.

Searching the notes, it says that Note 784607 is not released. Perhaps is a SAP internal note that partners can´t access. Could you copy&paste it?

Thanks,

Ibai Peñ

former_member185703
Active Contributor
0 Kudos

Here's the most important info in this note:

On the client:

a) Go to your "Start Menu" and select "Run".

b) Type DCOMCNFG in the "Open" textbox and hit the "Go" button.

c) For Windows XP: Navigate down the tree to Console Root => Component Services => Computers => My Computer. Right click "My Computer". For Windows 2000 you have direct access to a window with several tabs init.

d) Go to the tab "Default Properties" and check the option "Enable Distributed COM on this computer".

Once the message "Access is denied" disappears, the message: "Call was rejected by callee" might be displayed.

On the license "server":

a) Go to your "Start Menu" and select "Run".

b) Type "regedit" in the "Open" textbox and hit the "Go" button.

c) Navigate down the tree to: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLE

d) Double click in the "Enable DCOM" name to view its properties.

e) Change the value to "Y" even if it is already set to "Y".

f) Restart your computer.

Regards,

Frank