P
POL8985
The application is developed in ASP.Net with a SQL Server database.
Essentially, the application uses a single shared Connection object for
all users logged into the system. The connection object is
opened/closed for each transaction.
The error - System.IndexOutOfRangeException: Cannot find table 0 -
occurs on one page that accepts a single piece of data from a textbox.
This data is then passed to the business logic classes (in VB.Net) and
is queried against the database.
According to the stack trace, the error occurs at:
System.Data.DataTableCollection.get_Item(Int32 index) +79
Out of 100 data entries, this error will appear once or twice. Note
also that when the user enters the same piece of data that caused the
initial run-time error, the second entry executes OK!
Any suggestions?
Thanks:
Pat
Essentially, the application uses a single shared Connection object for
all users logged into the system. The connection object is
opened/closed for each transaction.
The error - System.IndexOutOfRangeException: Cannot find table 0 -
occurs on one page that accepts a single piece of data from a textbox.
This data is then passed to the business logic classes (in VB.Net) and
is queried against the database.
According to the stack trace, the error occurs at:
System.Data.DataTableCollection.get_Item(Int32 index) +79
Out of 100 data entries, this error will appear once or twice. Note
also that when the user enters the same piece of data that caused the
initial run-time error, the second entry executes OK!
Any suggestions?
Thanks:
Pat