cancel
Showing results for 
Search instead for 
Did you mean: 

Connection - Could not find SBO that match the connection string

Former Member
0 Kudos

Hi Experts,

When I run addon it is showing me error on UI API connection. msg is "Connection - Could not find SBO that match the connection string".

I have search the issue that it may be connection string issue. Add on connection  string is 0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056.

Please give your suggestion.

Thanks

Regards

Jitender


Accepted Solutions (0)

Answers (3)

Answers (3)

edy_simon
Active Contributor
0 Kudos

Hi Jitender,

do you have both 32 n 64 bit sbo installed?

if yes, when you are developing in 32 bit SBO, you need to set your addon to 32bit platform.

same case with when developing in 64 bit SBO, you need to set your addon to 64bit platform.

regards,

edy

Former Member
0 Kudos

Hi Edy,

Thanks for reply.

Now that msg is remove but now it is showing a new msg at the time to connect with DI API. msg is "Failed to connect or logon to SLD, please check connection parameters and configure file".  What is issue now?.

Thanks

Regards

Jitender

edy_simon
Active Contributor
0 Kudos

Hi Jitender,

is your sbo connected but addon showing the message?

can you check this file?

if your sbo is 32 bit.

c:\program files (x86)\sap\sap business one di api\conf\b1local_machine.xml

or if 64 bit

c:\program files\sap\sap business one di api\conf\b1local_machine.xml


check the license server is correct in this file.

or you can copy from

c:\program files (x86)\sap\sap business one\conf\b1local_machine.xml


regards,

edy

Former Member
0 Kudos

Open the SAP Service manager and restart the license server.

Former Member
0 Kudos

Thanks Edy for Quick reply.

My addon is working fine with SAP 8.82 . I upgraded SBO to 9.0 PL 5. I want to upgrade the Addon also. I have upgrade the DLL 9.0 both DI API and UI API. When I try to connect with SAP 9.0 client in debug purpose(Run from Visual Studio 2008) it is giving me the error "Connection - Could not find SBO that match the connection string" . I tried your code also. it is also not working. Please give an alternative.


edy_simon
Active Contributor
0 Kudos

Hi Jitender,

The connection string you posted is only for debugging/development purpose.

If your addon is installed, the connection string should take from the command line arguments sent by SBO.

Use below code to determine the connection string :


            if ((System.Environment.GetCommandLineArgs().Length == 1)) {

                connStr = "0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056";

            }

            else {

                connStr = System.Environment.GetCommandLineArgs().GetValue(1).ToString();

            }

Regards

Edy