Server Error in '/' Application.

There is insufficient system memory to run this query.

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.Data.SqlClient.SqlException: There is insufficient system memory to run this query.

Source Error:


Line 90:         Public Shared Function GetLatestQuestion() As PollQuestion
Line 91: 
Line 92:             Dim qry As New Query(Tables.PollQuestions)
Line 93:             qry.Top = "1"
Line 94:             qry.OrderBy = OrderBy.Desc(PollQuestions.Columns.CreationDate)

Source File: d:\hshome\naturalgolf\moenormangolfacademy.org\App_Code\BLL\Poll.vb    Line: 92

Stack Trace:


[SqlException (0x80131904): There is insufficient system memory to run this query.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +925466
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800118
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
   System.Data.SqlClient.SqlDataReader.get_MetaData() +62
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1005
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62
   SubSonic.SqlDataProvider.GetReader(QueryCommand qry) +200
   SubSonic.SqlDataProvider.GetTableSchema(String tableName, TableType tableType) +2719
   SubSonic.DataService.GetSchema(String tableName, String providerName, TableType tableType) +58
   SubSonic.Query..ctor(String tableName) +122
   ClubStarterKit.Web.Poll.GetLatestQuestion() in d:\hshome\naturalgolf\moenormangolfacademy.org\App_Code\BLL\Poll.vb:92
   ClubStarterKit.Web.Controls.PollControl.LoadQuestion() in d:\hshome\naturalgolf\moenormangolfacademy.org\App_Code\Controls\PollControl.vb:86
   ClubStarterKit.Web.Controls.PollControl.OnLoad(EventArgs e) in d:\hshome\naturalgolf\moenormangolfacademy.org\App_Code\Controls\PollControl.vb:102
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433