2

我收到此错误消息

 "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); 
}
4

1 回答 1

0

我明白了这个问题,我的连接字符串配置错误。当我设置它时,它现在可以工作了。谢谢大家。

于 2010-05-14T00:15:27.800 回答