Skip to Content
avatar image
Former Member

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!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jan 06, 2015 at 07:04 AM

    Hi Toan,

    Are you using any third party libraries with you ActiveX?

    Best regards,

    Pedro Magueija

    View Pedro Magueija's profile on LinkedIn

    Add comment
    10|10000 characters needed characters exceeded