Ver 3 beta 1 error: Invalid object name 'dbo.WebSettings'

Topics: Developer Discussion, Help
Nov 25, 2007 at 8:53 PM
Server Error in '/' Application.
--------------------------------------------------------------------------------

Invalid object name 'dbo.WebSettings'.
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: Invalid object name 'dbo.WebSettings'.

Source Error:


Line 9: Public Shared Sub PushToSession()
Line 10: If Current.Session.Item("SettingsSet") Is Nothing Or CBool(Current.Session.Item("SettingsSet")) = False Then
Line 11: Dim ws As New WebSettings(WebSettings.Columns.Id, 1)
Line 12:
Line 13: If ws.IsLoaded = True Then


Source File: E:\kunden\homepages\39\d219922815\App_Code\BLL\Settings.vb Line: 11

Stack Trace:


SqlException (0x80131904): Invalid object name 'dbo.WebSettings'.
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857466
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735078
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
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) +886
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.AbstractRecord`1.LoadByParam(String columnName, Object paramValue) +170
ClubStarterKit.Data.WebSettings..ctor(String columnName, Object columnValue) +80
ClubStarterKit.Web.Settings.PushToSession() in E:\kunden\homepages\39\d219922815\App_Code\BLL\Settings.vb:11
ASP.globalasax.SessionStart(Object sender, EventArgs e) in E:\kunden\homepages\39\d219922815\global.asax:24
System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +2165566
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +154
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +542
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +90
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155