on 01-20-2005 9:47 AM
Hi.
When I start my Programm (VB.NET) in the "Release Mode", I have a Errormessage: "System.IndexOutOfRangeException"
It only works in the Debug Mode.
I have made a printscreen, here is the link:
http://www.breakdance.dreamworld.cd/Error.htm
Please Help me.
Thanks
Hi Marcel,
If you start your program in Release mode you must pass the Connection String as command line argument.
Usually you must only work with Debug mode (you have the Connection String into the project Properties -> Configuration Properties -> Debugging for the Debug mode)
The Release mode will be used by Business One when your addon will be registered and in this case you will receive the Connection String as command line argument.
Hope it helps
Trinidad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Looks like the index 1 doesn´t exist. Perhaps it is 0 based, and you should try 0 instead of 1.
Did you insert the development connection string (see bellow) to the Command Line Arguments of your project?
0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056
Regards,
Ibai Peñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.