log files / debug switch - SqL exception IndexOutofRange

Topics: Developer Forum
Mar 6, 2008 at 9:53 PM
Is there a debug switch or a log file specifically for MsSqlSpatial? I'm having the problem pasted below. Seems the collection has an issue. Recycling the CLR seems to resolve my issue temporarily. I am new to the project and searched the forums already, one similar issue to the IndexOutofRange had a reply that Resolved with changeset 17563 (not sure what that means)? I am running 0.1.1 because of new features that include three functions RelatePattern, Polygonize, and LineMerge. Thanks in advance for the information!


Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 3/5/2008
Time: 3:35:56 PM
User: N/A
Computer: PWEB1
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/5/2008 3:35:56 PM
Event time (UTC): 3/5/2008 9:35:56 PM
Event ID: efd4d98b74c849cf8e1a6622060af15b
Event sequence: 16668
Event occurrence: 5
Event detail code: 0

Process information:
Process ID: 1624
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: SqlException
Exception message: A .NET Framework error occurred during execution of user defined routine or aggregate 'Collect':
System.IndexOutOfRangeException: Index was outside the bounds of the array.
System.IndexOutOfRangeException:
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at GeometryAggregate.Init(String& key, GeometrySRIDPair& aggregate)
at Collect.Init()
.
Thread information:
Thread ID: 16
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.HasMoreRows()
at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
at System.Data.SqlClient.SqlDataReader.Read()
at System.Data.Common.DbEnumerator.MoveNext()
at AjaxControlToolkit.Accordion.CreateControlHierarchy(Boolean useDataSource) in C:\src\WebApps\atlas\Toolkit\1.0\AjaxControlToolkit\Accordion\Accordion.cs:line 856
at AjaxControlToolkit.Accordion.OnDataBinding(EventArgs e) in C:\src\WebApps\atlas\Toolkit\1.0\AjaxControlToolkit\Accordion\Accordion.cs:line 809
at AjaxControlToolkit.Accordion.DataBind() in C:\src\WebApps\atlas\Toolkit\1.0\AjaxControlToolkit\Accordion\Accordion.cs:line 790
at AjaxControlToolkit.Accordion.EnsureDataBound() in C:\src\WebApps\atlas\Toolkit\1.0\AjaxControlToolkit\Accordion\Accordion.cs:line 913
at AjaxControlToolkit.Accordion.OnPreRender(EventArgs e) in C:\src\WebApps\atlas\Toolkit\1.0\AjaxControlToolkit\Accordion\Accordion.cs:line 640
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)