473,587 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Intermittent IndexOutOfRange Exception: Index was outside the bounds of the array

I have a .NET Remoting object hosted in IIS6 on Windows Server 2003
(happens before and after installing SP1) at an endpoint (ASP.NET
application virtual folder) named "CompanyXYZRepo rting". The remoted
object is called several times every day and works perfectly except
every 2-3 weeks when we call the remoted object, the response returns
the error shown below. Does anyone have any clues how to resolve this
problem?

Server Error in '/CompanyXYZRepor ting' Application.
--------------------------------------------------------------------------------

Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.IndexOut OfRangeExceptio n: Index was outside
the bounds of the array.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[IndexOutOfRange Exception: Index was outside the bounds of the array.]
System.Collecti ons.ArrayList.A dd(Object value) +43
System.Web.Util .Profiler.EndRe quest(HttpConte xt context) +171
System.Web.Http Application.Res umeSteps(Except ion error) +461

System.Web.Http Application.Sys tem.Web.IHttpAs yncHandler.Begi nProcessRequest (HttpContext
context, AsyncCallback cb, Object extraData) +225
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+486


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
ASP.NET Version:1.1.432 2.2032

Nov 19 '05 #1
0 2108

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10760
by: kim | last post by:
Scenario (I'm a newbie): I have a datagrid with countries listed and 5 parameters in each row. I want to add a row to this datagrid via an Event Handler. Very basic stuff. This method then call a Business method, which calls a Data method which calls an SP in MS SQL. My code compiles well, but the page throws "Index was outside the bounds...
9
16542
by: Tylius | last post by:
This one line is causing the issue, I've searched all over the net, but I can't seem to figure out why public static void Main(string args) { Console.WriteLine("Dice Roller"); try { int num_dice = int.Parse(args); // This is the problem
1
2316
by: Joe | last post by:
This is a weird problem. when doing trying to add a tabpage to a tabcontrol I get an error: Index was outside the bounds of the array. Now this only happens when I call a function from within a callback for an Async webmethod call. My guess is that it has something to do with the threads not being in sync yet.
1
4003
by: iCeCLoW | last post by:
Hi there, I´m using the rowFilter property for filtering the rows in a DataView object. If the filter is set to an inexistent value , that is, after filtering i have 0 rows in the DataView, and I try to re-show all the rows again by setting rowFilter = "", after setting the rowStateFilter i obtain the "Index was outside the bounds of...
0
2359
by: Beaker | last post by:
I am having some trouble with an array object and a web service I have. I have a farly simple user object public class User { private Guid myUserId; public Guid UserId { get { return myUserId; }
5
11229
by: Adam Clauss | last post by:
This does not seem to be a documented exception. See: http://msdn2.microsoft.com/en-us/library/k7z0zy8k.aspx System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.Dictionary`2.Resize() at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at...
4
17595
by: weird0 | last post by:
I have no idea why this error this is coming and how can i fix it? Can anyone please help me with it..............? public static class BillManager { private static Object ExecuteSP(Object argArray) { SqlCommand sqlcmd = new SqlCommand(); SqlConnection sqlconnection1 = new SqlConnection(); sqlcmd.Connection = sqlconnection1;
0
1102
by: =?Utf-8?B?TWlrZQ==?= | last post by:
I have a .NET 2.0 app running on Server 2003. Intermittently, a request ends up on the error page with "Index was outside the bounds of the array". The stack trace shows MyBase.New() being invoked from the constructor in Global.asax.vb (below). I do not have any code in MyBase.New(). Any help? System.Collections.ArrayList.Add(Object...
1
1696
by: Magnus.Moraberg | last post by:
Hi, I have the following methods - public MyClass this public MyClass this if this recieves an index which is outside the bounds of the concerned array, I throw - IndexOutOfRangeException
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.