1
我得到這個錯誤消息SAP Business One的:連接錯誤,當我嘗試連接到UI API
"Connection - Could not find SBO that match the connection string [66000-85]"
,當我嘗試連接SAP Business One的UI API。
我連這樣的:
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);
}