Skip to Content
author's profile photo Former Member
Former Member

unhandled exception running UI add-on in VS 2003 in release mode


I am getting the following exception when I run my UI add-on in release mode in Visual Studio 2003:


An unhandled exception of type ‘System.IndexOutOfRangeException’ occurred in mscorlib.dll .

Additional Information: Index was outside of the bounds of the array.


It runs fine in Debug mode. I am running the add-on in B1 2005A SP01 PL16. Then to test the SDK, I ran the "Hello World" sample program and it also gives me the error in release mode but not in debug mode. I compiled the addon in 2004A and 2005 A SP00 successfully a while ago with no problem. Has any one come across this error?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 29, 2007 at 08:17 AM

    Please check the command line arguments which are used to get connection string from SBO GUI.

    It is also a good paradigm to catch all the exceptions and analyse them.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.