SAP Business One: Connection Error When I try to connect to UI API
Posted
by RedsDevils
on Stack Overflow
See other posts from Stack Overflow
or by RedsDevils
Published on 2010-05-11T08:44:34Z
Indexed on
2010/05/14
0:24 UTC
Read the original article
Hit count: 742
Hi All,
I got this error message
"Connection - Could not find SBO that match the connection string [66000-85]"
when I try to connect SAP Business One UI API.
I connect like the following :
private void SetApplication()
{
SAPbouiCOM.SboGuiApi SboGuiApi = null;
string sConnectionString = null;
SboGuiApi = new SAPbouiCOM.SboGuiApi();
// connect to a running SBO Application
sConnectionString = Environment.GetCommandLineArgs().GetValue(1).ToString() ;
SboGuiApi.Connect(sConnectionString);
SBO_Application = SboGuiApi.GetApplication(-1);
}
© Stack Overflow or respective owner