Index was outside the bound of the array error after deployment
-
Hi, When I deploy my web application in a Windows 2003 server(SP2) it is giving the array "index was outside the bound of the array".If you have any suggestions to resolve this issue please let me know. Regards, Prajin
Any idea on what we should base our suggestions ?
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
Hi, When I deploy my web application in a Windows 2003 server(SP2) it is giving the array "index was outside the bound of the array".If you have any suggestions to resolve this issue please let me know. Regards, Prajin
Prajin wrote:
If you have any suggestions to resolve this issue please let me know.
Well the index your trying to access ... in the array ... is out of the bounds :P i.e. if you have 28 items your trying to access either <= -1 or >= 28. The trick is to read the exception text, suprisingly it tells you whats wrong. I'd hate to see what you'd do if you got a Win32 error X|
-
Prajin wrote:
If you have any suggestions to resolve this issue please let me know.
Well the index your trying to access ... in the array ... is out of the bounds :P i.e. if you have 28 items your trying to access either <= -1 or >= 28. The trick is to read the exception text, suprisingly it tells you whats wrong. I'd hate to see what you'd do if you got a Win32 error X|
I wonder how do you know all this ?
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
-
I wonder how do you know all this ?
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
It's a gift he's got.
Deja View - the feeling that you've seen this post before.
-
It's a gift he's got.
Deja View - the feeling that you've seen this post before.