Hi
I am getting error using c# sdk in sap b1
Exception thrown: 'System.Runtime.InteropServices.COMException' in MyAddOn.exe
The program '[9976] MyAddOn.exe' has exited with code 0 (0x0).
Thanks
Hi
I am getting error using c# sdk in sap b1
Exception thrown: 'System.Runtime.InteropServices.COMException' in MyAddOn.exe
The program '[9976] MyAddOn.exe' has exited with code 0 (0x0).
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jayraj ChhayaPosted Aug 20, 2025, 10:50 AM
Quick Fix Checklist:
Set project to x86 (
Project → Properties → Build → Platform Target→ x86).Add references:
SAPbobsCOM 1.0 Type LibrarySAPbouiCOM 1.0 Type LibraryRun VS as Administrator.
Confirm SAP B1 client / DI API is installed.