cancel
Showing results for 
Search instead for 
Did you mean: 

SAP 9.92 - Connection - Could not find SBO that match the connection string

vinayhatwal
Participant
0 Kudos

Hello Experts,

I am having below env on my machine -

OS - Windows 7 64 bit

SAP Business One 9.92 PL05 - 64 bit

Sql Server 2008 R2 Database

Development Env - VS 2008/VS 2015 (Debug mode - x64) (Framework 3.5/4.0)


My application (C#) was working fine but suddenly it started to give the below message

"SAP 9.92 - Connection - Could not find SBO that match the connection string"

in the last line written in the below written code.

SboGuiApi sboGuiApi = new SboGuiApi();
                var connectionStr = Convert.ToString(Environment.GetCommandLineArgs().GetValue(1));
                sboGuiApi.Connect(connectionStr);

I reinstall the client and DI API completely and clear all the temp dir and clean the related registry, then it worked again but after 1 day it was again started giving the same error. I again did the above process but this time i did not run and still giving the same error.

Please help.

Thanks!

View Entire Topic
edy_simon
Active Contributor

Hi Vinay,

I assumed this is on debugging. Make sure :

1. When you have both 32 and 64 bit client installed on your PC, you run the same platform of add on this PC. ie if you are connecting to 32 bit SBO Client, target your add on on 32 bit, vice versa for the 64bit.

AND

2. If you run your SBO Client under Administrator mode, you need to start your VS using the same administrator mode.

Regards
Edy

Former Member

Hi Edy,

Option 1 worked for me.

Thanks

Selva