on 07-08-2008 11:27 PM
Hi
We're having some trouble installing an Add-On just in some machines (like 3 of N!) the errors we get during installation are:
CustomerLibrary
Error during AddOn installation Index was outside the bounds of the array.
then the next message shows
CustomerLibrary
Error (-2) at EndInstallEx(False) at end of the AddOn installation
any help would be very useful
Regards,
Juan Arias
Hi Juan,
If last link doesn't work. here is the solution.
The solution that worked was to change the registry access in the SubMain.vb (add-on installer project) and CustomInstallerClass.vb (CustomerLibrary project) to use Registry.LocalMachine instead of Registry.CurrentUser
I hope it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem should not be at string connection, because Add-On have not started yet at this point (We tried setting more time in ard file, but the error persists). could anybody explain what kind of problem could appear in CustomerLibrary??? Problem could be there....
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mahendra Thank you,
but the problem seems to be with the installer, not with the Add-On connection.
regards
Juan Arias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It depends on how you build your connection.
The code I use; you need to open properties of your project in Visual Studio and in tab Debug you need to place the connection string as mention earlier.
If you have a problem with the installer it could be the time set in the installer; increase the time
Rune
Hi Dear,
Please check that the connection string is provided or not while creating the addon in release mode.
If you give the connection string in the debug mode you have to give it in release mode also.
Connection string will be as follows
0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056
REgards,
Mahendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.