I am using the ClubStartKit which uses SubSonic for database communication. I am getting the following error quite often. Can someone shed some light on this? I am not sure why this is becoming more frequent. Thanks everyone.
Server Error in '/' Application.
Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
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.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
Source Error:
Line 23: (System.ComponentModel.DataObjectMethodType.Select, False)> _
Line 24: Public Shared Function List(ByVal pagenum As Integer) As IDataReader
Line 25: Dim qry As New Query(Tables.Announcements)
Line 26: qry.AddWhere(Announcements.Columns.Itemdate, Comparison.LessOrEquals, DateTime.Now())
Line 27: qry.PageSize = ClubStarterKit.Web.Settings.PageSize()
[ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.]
dude9er
Member
49 Points
176 Posts
Server Error in Application
Mar 02, 2012 04:30 PM|LINK
I am using the ClubStartKit which uses SubSonic for database communication. I am getting the following error quite often. Can someone shed some light on this? I am not sure why this is becoming more frequent. Thanks everyone.
Server Error in '/' Application.
Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
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.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
Source Error:
Line 25: Dim qry As New Query(Tables.Announcements)Source File: C:\HostingSpaces\somesite.com\wwwroot\App_Code\BLL\News.vb Line: 25
Stack Trace:
Qin Dian Tan...
All-Star
113532 Points
12480 Posts
Microsoft
Re: Server Error in Application
Mar 06, 2012 07:28 AM|LINK
Hi,
You post the issue in the wrong forum:
http://forums.asp.net/1004.aspx/1?Club+Web+Site+Starter+Kit
Thanks,
If you have any feedback about my replies, please contactmsdnmg@microsoft.com.
Microsoft One Code Framework