cancel
Showing results for 
Search instead for 
Did you mean: 

Add-on Error

Former Member
0 Kudos

Hello everyone :

Im getting the follwing error when I try to start an Add-on develop in VB6 : "Wrong executable digital signature for Add-on "

Does anybody know Why?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I did recompile , recreate the ard file and paste the new exe file in the Add-on directory and now is giving me and now is giving me " Failed to write SARI table".

This is what I'm doing :

1. Test the Add-on ( Run Perfect on SBO )

2. Make an exe file -> UISIMPLE.EXE

3. Create an Installation Package using Pacjage & Deployment Wizard Visual Studios 6.0

4. Create an ard file using the AddOnRegDataGen.exe instaled on C:\Programs File\SAP\SAP MANAGE\...\

5. Within SAP Register the Add-on and then it gives me the error mentione above and before

Im saving all this files on the same folder , and every time I recompile I create a new ard file

Am I doing something wrong??

Pls Help ! I'm newbie on SDK

Former Member
0 Kudos

Hey Cesar,

To fix the failed to write SARI error you will have to go into the COMMON DB table or your SBO database and remove the entry for your add on. (I am assuming this is a test DB otherwise do not attempt this). When I want to reinstall my add ons I update the version # of the ard and reregister the file.

There is also a local file called AddOnsLocalRegistration.sbo in the following folder (default)

C:\Program Files\SAP Manage\SAP Business One

Sometimes this file gets out of syn when test deploying. You have to rename this file and the add on will get reinstalled from the server.

Let me know if I can help you any further.

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

To create the installation package for registering an AddOn inside Business One you must use the dll AddOnInstallAPI.dll.

Please have a look to the SDK Help file chapter Package and Deployment.

You have also some topics in this forum talking about it:

You can find many other topics by searching for AddOnInstallAPI.dll.

Hope it helps

Trinidad.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

How do you made the deploiment of your AddOn?

Are you made an upgrade of this?

The problem with the signature is because the information in the ard file for the registration it is not of the oexe file of your AddOn.

Best regards.

Former Member
0 Kudos

When you create your .ard file, make sure the .exe you created it from is the same .exe placed into your add-on directory in the SAP Business One folder.

When recompiling add-ons, I always create the .ard file, then copy and paste the new version of the .exe into the add-on directory for SAP.

If that doesn't work, recompile, re-create the .ard file and place the new .exe into your add-on directory.

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

You are right Curtis, the .ard file contains a digital signature of the addon exe. So evertime we recompile the addon exe it will not correspond with the old ard.

We must regenerate the .ard file everytime we recompile the addon or everytime we recompile the installer for the addon (also pointed by the .ard file).

Regards

Trinidad.