cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Business one 9.0 AddOn installer error

Former Member
0 Kudos

Hi Experts,

I have upgrade my SAP B1 from 8.82 to 9.0 PL 5. I have an addon also which is I compile with 9.0 DLLs. it is working fine if I direct connect by visual studio 2010 to any client 32-bit or 64 bit. But When I make an .ard file using B1DE 2.2.6 . it gives me error '"BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)". I use the following steps for make an addon.

1. Run Addon Installer Wizard and follow all steps.

2. Change Compile -Advance Compile option -Any CPU.

3  Rebuild again project.

4. Rebuild ard file by clicking on batch file

Please suggest where is the gap. It tried to install on both client 32 bit or 64 bit, but it gives me above error.

Thanks

Regards

Jitender

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Try have to compile your project in release configuration and x86 platform.

I hope this help you.

Regards, Alessandro

AdKerremans
Active Contributor
0 Kudos

Hi Jitender.

This error occurs wher 32- and 64-bit is mixed

How is your installer compiled for 32-bit, 64-bi or any ccpu?

I would recommend to compile if vor 32-bit (x86).

Regards

Ad

Former Member
0 Kudos

hi Kerremans,

Thanks for you quick reply.

I try to compile my installer with 86x .Now it gives a new error EndInstallEx return -2. Please what is this new error.

Thanks

Regards

AdKerremans
Active Contributor
0 Kudos

Hi,

What version of the DLL are you using 32 or 64-bit.

Can you post your code here?

Regards

Ad