cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving the COM class factory for component with CLSID

Former Member
0 Kudos

Hi All,

I have developed my addon in SAP 8.82

While I install my addon in Server 2012, SAP 9.0, i get the following error.

Retrieving the COM class factory for component with CLSID {632F4591-AA62-4219-8FB6-22BCF5F60088} failed due to the following error: 80040154.

I am unable to install my addon. Help me solving this issue.

Regards,

Preethi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If your add-on was built on SAP 8.8, then you should install the DI API x32 in your server.

Former Member
0 Kudos

Hi Bryan,

Can I install DI API 8.82 in server which has DI API 9.0?

Regards,

Preethi.

edy_simon
Active Contributor
0 Kudos

Hi Preethi,

Yes you can.

When you install the DI API 9.0, there is a selection where you can include previous DI API version.

Check in your folder

C:\Program Files (x86)\SAP\SAP Business One DI API

The versions you have installed for 32 bit should be listed in there

Regards
Edy

Former Member
0 Kudos

Yes you can. As Edy said. The old DI API are installed at DI API 32 bit.

Former Member
0 Kudos

Hi Edy,

Thanks. Now it works fine

Regards,

Preethi

Answers (1)

Answers (1)

edy_simon
Active Contributor
0 Kudos

Hi Preethi,

Which platform did you used for developing the Addon ? 32 bit ? 64 bit ?

What is the platform of the installed DI API in the server ? 32 bit ? 64 bit ?

If you use other references in your addon, check and make sure the correct platform is installed in the server.

Regards
Edy

Former Member
0 Kudos

Hi Edy,

I use 32 bit for developing the addon. In server it is 64 bit.

Regards,

Preethi

edy_simon
Active Contributor
0 Kudos

Hi preethi,

In your server, do you have the 32 bit DI API + UI API installed ?

Regards

Edy

Former Member
0 Kudos

Hi Edy,

How to check whether it is 32 bit?

I think this is reference prob.

I have 8.82 DI API in client machine

C:\Program Files\SAP\SAP Business One DI API\DI API 88\SAPbobsCOM88.dll

But in server, instead of 8.82, we have DI API 9.0

C:\Program Files\SAP\SAP Business One DI API\DI API 90\SAPbobsCOM90.dll


Will this affect?



Regards,

Preethi

Former Member
0 Kudos

hi..

Try Below one..

The concern error occurs when your code's platform does not match with the server's platform on which you are trying to execute the code (32 / 64 bit ).

Specify 'x84' in your code and compile it then execute.



Right click on the Solution and click on Compile --> Advanced Compile Options... button and in the Advanced Compiler Settings, set the "Target CPU" to "x86" and then Re-build your solution then try.

Did you try to remove the SM_OBS_DLL folder in %TEMP% ?



http://scn.sap.com/thread/3297764


Can u plz check above thread.,

edy_simon
Active Contributor
0 Kudos

Hi Preethi,

your error is basically, the runtime cannot find the reference needed by your addon.

whichever version you are referencing, you need to have it in the server.

di api 882 and di api 90 can be installed side by side.

so, if you are referencing 882, make sure it is installed on the server.

if you are reerencing 90 32 bit, make sure it is installed. the same case with 90 64 bit.

regards,

edy

Former Member
0 Kudos

Hi Edy,

So building my addon in 9.0 is the only way to solve this??

Regards,

Preethi.

edy_simon
Active Contributor
0 Kudos

Hi Preethi,

I am not saying that you should build it using 9.0.

what i am trying to say is :

whatever reference you used in your project, the exact same must exist in the target pc.

That being said, if you are planning to deploy in sbo 9 environment, it s better to develop using sbo 9 reference.

regards,

edy