cancel
Showing results for 
Search instead for 
Did you mean: 

Error when install addon

Former Member
0 Kudos

Hi All!

I developed an AddOn using B1DE for 2005A SP01 LP01 but when the installer run and almost finish , it shows me that messasgebox

<b>CustomerLibrary

Error during AddOn installation Attempted to read or write protected memory. This is often an indication that other memory is corrupt.</b>

then

<b>CustomerLibrary

Error (-2) at EndInstallEx(False) at the end of the AddOn installation</b>

what can be happend?

Hope heps me

Regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Christian,

I don't know if this will help, but it happened with me once. When you install the add on, does it create a file somewhere? If another version of the same add on was uninstalled, it happens sometimes that the server locks that file and it is not cleared with the old data (It is read only, so you can't delete the file or write to it).

The only way then is to restart the server and delete the file manually, then try installing your add on again.

I hope it helps.

Kind regards

Carin

Former Member
0 Kudos

hi Eddy and Carin

Eddy i clicked the button debug and show me that message <a href="http://img179.imageshack.us/img179/7445/error1pk3.jpg">error</a> i dont know that does mean.. could you help me ?

And Carin i try everything i think so.. i delete the register of sari table of my addon, delete the installer of control panel, delete the folder that create when install the addon and delte the files AddOnsInstall.sbo and AddOnsLocalRegistration.sbo .. what more can i do?.. i restar the server too.. but nothing work..

Hope helps

Regards

Christian

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Christian,

Based on the error message, that still is vague other than it saying that you have not instantiated an object ... but I do not know what object. Again ... have you tried this on a different machine?

Eddy

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

Were you able to install another addon with the Setup .NET Wizard? Did you follow all the TODO.txt steps?

Please create an installer for a very simple addon with only 1 exe and see if you have the same problem.

Have you tried to create the the installer with the simple installer wizard to see what happens?

It seems there is a problem while copying some files or something similar... Have you verified that the user has the appropriate access to the disc?

Does it happens in all machines?

With an administrator user?

Was the addon installed before in the same machine?

Former Member
0 Kudos

Hi Trinity .. i answer yours questions....

Were you able to install another addon with the Setup .NET Wizard?

No, i dont have other addon made with B1DE

Did you follow all the TODO.txt steps?

I follow all the steps that give TODO.txt.. but the only steps that i don do cause i never find are :

Right-click the dotnetfxredist_x86.msm dependency and choose Exclude

Change Project Dependencies to the Solution properties

Have you tried to create the the installer with the simple installer wizard to see what happens?

Yes, i created an installer with the simple installer wizard but always show me <a href="http://img244.imageshack.us/my.php?image=error2bz3.jpg">ERROR</a>

Does it happens in all machines?

Other pc happens the same thing

With an administrator user?

My user is administrator of the machine

Was the addon installed before in the same machine?

is a new addon i create the addon on my machine, install on that and the other but crashes all the time

Hope Helps please...

Regards,

Christian

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

What is the error you receive when using the Simple installer? Can you please show me the screen capture?

Can you please try to create an installer for a very simple addon with only the exe file with both installers and see if you have the same error?

I cannot understand why you have the error in the bottom of your screen capture...

Are you able to install other addons you have developed?

Regarding TODO.txt the dotnetfxredist_x86.msm is not added anymore in VS2005.

You can change the Project Dependencies by right clicking in the solution of the installer.

Trinidad.

Former Member
0 Kudos

What is the error you receive when using the Simple installer? Can you please show me the screen capture?

that the link http://download.yousendit.com/B181D72F24602CAD

Can you please try to create an installer for a very simple addon with only the exe file with both installers and see if you have the same error?

i create the both installers whith the same exe but happen the same thing

Are you able to install other addons you have developed?

no i dont create another addon that the only one...

Best Regards

Christian

Answers (3)

Answers (3)

Former Member
0 Kudos

How to delete the register of a table plz explain

Former Member
0 Kudos

i solved my own

the only have to do is delete all the registers on sari table and begin again

Thanks to everyone

Best Regards,

Christian

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Christian,

If I am reading your post correctly, you are developing against/using SAP Business One 2005A SP01 Patch Level 01? The production version of SAP Business One that was released for General Availability was SAP Business One 2005A SP01 PL04 and we are now at Patch Level 14. I would suggest that you download the latest SAP Business One 2005A SP01 patch level and retry.

HTH,

Eddy

Former Member
0 Kudos

hi Eddy

Sorry i mean SP : 11 and work with VS 2005 and i have install on my pc F2.0 and F1.1

Hope helps

Christian

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Christian,

Did you create the Addon Install using the B1 Addon Installer Wizard (simple installer) or the Addon Installer Setup .Net? If you used the later to create the installer, try using the Wizard and see if you get the same error. Also verify in the SAP Business One AddOn Administrator that there is not an entry for the addon that you are trying to install. If there is ... remove it and re-run the addon install. Also, there are two different versions of B1DE depending on which version of the .Net Framework you wish to use. If you are using Visual Studio 2005 and .Net Framework 2.0, then you need to have downloaded the B1DE 1.3 version.

HTH,

Eddy

Former Member
0 Kudos

hi Eddy

i was used Addon Installer Setup .Net for doing my addon and work with B1DE 1.3 version coz i use VS 2005, now i try to create my addon with B1 Addon Installer Wizard (simple installer) and then when install show me that message ..

<a href="http://img187.imageshack.us/img187/1213/errorpn0.jpg">error</a>

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Christian,

Unfortunately that does not give me much info to go on. When you click the Debug button, what do you get for information. Also, have you tried this on a different machine?

Eddy