cancel
Showing results for 
Search instead for 
Did you mean: 

DI API 6.7: error 100000010 when connecting to database

Former Member
0 Kudos

Hi,

I am using SBO 2004 A (6.70.184 SP:00 PL:01) and DI API 6.7.

when I connect to the database with single sign-on, I get as error result "100000010". A direct connect with DI API 6.7 or using single sign-on with DI API 6.5 works fine.

Thank in advance,

Ronny

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

GetLastError(...) returns an empty string as message text.

I think this must be a problem with the AddonIdentifier string. For some reason I used the implementation key and if I set AddonIdentifier to the development key it works.

Well, this is ok for developing, but what about implementation? I have enough free licences for this addon type. The problem still exists.

Maybe I don't understand the addon licence concept, so any information about this topic would be helpful.

Does anyone know how to get the licence key name for an addon solution? I did not found any anything about this on SMB.

Thanks,

Ronny

Former Member
0 Kudos

Hi,

I have found this in a document from SAP:

To generate an add-on identifier:

1. From Administration License, choose Add-On Identifier Generator.

2. Choose the type of identifier you need:

· Development – to run add-ons under the SDK Development license

· Implementation – to run add-ons under the SDK Implementation license

· Solution – to run add-ons at customer sites (distribution). Before running the addon, make sure you allocate the license to users. See, “Allocating licenses”.

You can generate a solution identifier only if you have a License Key Name and a license file that includes an SDK Development license.

The License Key Name is requested separately from SAP in the SAP Service Marketplace. The License Key Name is case-sensitive and must be copied identically to the License Key Name field.

3. Choose Generate to generate the add-on identifier string.

4. Copy the identifier string to your code and make sure to set the AddonIdentifier property before you call the Connect method.

For complete coding samples, see UI API and DI API help files and samples.

Hope helps,

Ibai Peñ

Former Member
0 Kudos

This is what I got from SAP support:

"When developing an Addon using Single Sign On (so using the DI and the UI) the AddOn Identifier generated with the Development option should be used.

<b>The implementation option is only for little addons created with the UI for small changes in your UI such as hiding a button/field and so on.</b>"

That means, using DI and implementation key as addon-identifier is not possible.

Thanks to all.

Regards,

Ronny

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ronny,

Do you have a message text associated to this error number? Have you tried Company.GetLastError(...) function?

Maybe you should post the SSO code you use.

Regards

Trinidad.