Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ActiveX Control doesn't support .NET framework 4

Dear SAP,

     I developed an ActiveX control in framework 2.0 , it's run OK. But when I change .NET framework to 4.0 , I cannot run it,  error message:

" Unable to cast COM object of type 'System.__ComObject' to interface type 'SAPbouiCOM.ActiveX'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{5427C1F0-B81F-4505-BC0D-1F60E3111DF3}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))."

     I tried to build add on in framework 4.0 with out my ActiveX Control , it's run OK, I think SAP B1 SDK doesn't support ActiveX Control build in .NET framework 4.0 . If you can build an Add on using  ActiveXControl build in .Net Framework 4.0 , please help me.

My SAP B1 version is SAP B1 9.0 PL9

Thank you!

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question