Skip to Content
avatar image
Former Member

[Error] - SAPbouiCOM.CompanyClass.GetDICompany DI API

Recently, while running my add-on. It suddenly got an error: "System.IO.FileNotFoundException: Internal error (-2147024770) occurred [131-183] - The specified module could not be found. at SAPbouiCOM.CompanyClass.GetDICompany()". It's kinda weird because I didn't change any related code from GetDICompany.

            oCompany = SBO_Application.Company.GetDICompany
            oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)

I've already uninstall install DI API and SAP Business One Client

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 09, 2017 at 06:13 PM

    I also have the same error message. This error does not occur on my development machine, it only occurs on the user machine. I am using Visual Studio 10 with "SAP Business One Add-On Project" and referencing the C:\Program Files (x86)\SAP\SAP Business One SDK\Lib\SAPBusinessOneSDK.dll and included this dll in the installation package.

    Did you find the solution to the problem?

    Add comment
    10|10000 characters needed characters exceeded