cancel
Showing results for 
Search instead for 
Did you mean: 

AddOn DI Connection

Former Member

Hi.

After update to 9.2 pl04 in B1, we have this error when try to connect DI/API AddOn:

"add-on has already logged on with the same account in " (other machine, or the same machine)

But we have 8 different AddOn on the client, but only 2 or 3 can connect at the same time ... the other not connect ... I try to use a different user account, but without success

Accepted Solutions (0)

Answers (2)

Answers (2)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Hi Paolo,

The mentioned issue seems to be because of the new logon limitations introduced in SAP Business One Version 9.2 PL04.

Any SAP user which is having the Named User License and trying to make DI API connection, internally it will work as "Indirect Access" for DI API only. Since the new logon limitation is introduced in SAP Business One Version 9.2 PL04, SAP User is not allowed to make more than one DI API connection.

You might be using the below scenario:

1. Machine1, User for UI Connection is User1; User for DI Connection is User3.
2. Machine2, User for UI Connection is User2; User for DI Connection is User3.

While connecting the add-on on machine2 for User2, and making DI connection is gives the error:
"Add-On has already logged on with the same account. "

Refer to SAP Note 1815509 and Whats New Guide for SAP Business One Version 9.2 PL04 for the same.

Kind regards,

ANKIT CHAUHAN

SAP SME Support

paolo_fornari3
Participant
0 Kudos

Hi Ankit,

Thank you for this information.

In our scenario we just have DI Connections (only indirect) with no UI connection, all with manager user.

Looking at SAP Note 1815509 I see the change, even if I expected to see this note in PL04 changelist (download center) but i didn't.

Thanks

Paolo

pedro_magueija
Active Contributor
0 Kudos

Hi Luciano,

Make sure your add-on is using a "Single Sign On" method for the connection. Otherwise, you'll hit the concurrent connection limit.

Have a look here: https://archive.sap.com/discussions/thread/1620942

Pedro Magueija

LinkedIn | Twitter | Blog

paolo_fornari3
Participant
0 Kudos

We have same error after update to 9.2 pl06.

We cannot use single sign on since the application only uses DI, it is a winform client application that sometimes connect to SAP to retrieve datas.

Please help, thank you.

pedro_magueija
Active Contributor
0 Kudos

Hi Paolo,

Is this the same application as the original poster?

Note that if your application is connecting multiple times to the company database then the DI API is not the adequate method since you'll run into licensing issues (like the one you are experiencing). Take a look at the B1if or the DI Server for options on connecting multiple times (e.g.: websites, 3rd party apps) to the company database.

These allow you to have several connections to the database with only one license, hence they are better suited for the scenario you are describing.

Pedro Magueija

LinkedIn | Twitter | Blog

paolo_fornari3
Participant
0 Kudos

Hi Pedro,

no it is another application.

Each client create an instance of DI only when needed with 'manager' user and close the connection when finished. If another client meanwhile opens another DI connection sometimes (seems not always) we run into the described problem.

This was working great without any problem. After upgrading from 9.2 PL03 to PL06 we came into this problem. I wonder what changed, i read patches details but didn't find anything.

Thank you