on 04-02-2009 5:38 AM
Hi Experts,
I have created a simple addon program. In which i want to conect with UI and DI both It conect with UI properly but when it connect wih DI it show the following message.
Unable to cast COM object of type 'SAPbobsCOM.CompanyClass' to interface type 'SAPbouiCOM.Company'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{195BCB8E-4D2F-4950-947C-9E3523929229}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Thank in Advance
Hi
Which version of SAP you are using?
Thanks
Rupinder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Can you post the code you're using to connect?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gorge,
Are you deploying on a 64bit server? You must build your project with any processor (properties of your .net project).
Search it on the forum.
Maybe it's not a solution but I hope that I give you a push in the good direction
HTH.
Regards Teun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gorge,
It seems it might be an issue with the DI API versions being mismatched. Please try the following:
1. Locate the Temp folder by going to Start -> Run and type %temp%.
2. Locate the SM_OBS_DLL folder here and delete it.
3. Uninstall the DI API from Add/Remove Programs.
4. Reboot your PC
5. Install the DI API from Patch 41.
If the issue still occurs, please post a sample of your connection code.
Regards,
Niall
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.