cancel
Showing results for 
Search instead for 
Did you mean: 

[Error] - SAPbouiCOM.CompanyClass.GetDICompany DI API

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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?