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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jayraj ChhayaRank #304 · 8.2K reputationPosted Aug 20, 2025, 6:50 AM EDT
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.