Skip to Content
1

AddOn DI Connection

Nov 05, 2016 at 01:05 AM

1.1k

avatar image
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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

ANKIT CHAUHAN
Mar 01, 2017 at 04:47 PM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0
avatar image
Former Member Nov 05, 2016 at 06:21 AM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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.

0
Former Member
Paolo Fornari

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

0

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

0