Invalid object name 'tempdb.dbo.ASPStateTempApplications'.

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/30/2011 3:27:20 PM
Gravatar
Total Posts 2

Invalid object name 'tempdb.dbo.ASPStateTempApplications'.

I get the following errors after running the setup script (which ran correctly) on a new install of mojoPortal - I d/l mojoPortal today, vs. 2.3.7.0.

Hosting: Winhost.com

DB: MS SQL 2008 (not R2)

.NET 4.0

URL: usmillers.net/website

I hope it is something simple. Thanks for your help!

Mark Miller

 

-------------------------------------------------- ERROR PAGE I GET AFTER SETTING CustomErrors="Off" in Web.config ---------------------------

Server Error in '/website' Application.


--------------------------------------------------------------------------------

Invalid object name 'tempdb.dbo.ASPStateTempApplications'.

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 'tempdb.dbo.ASPStateTempApplications'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 


Stack Trace:

[SqlException (0x80131904): Invalid object name 'tempdb.dbo.ASPStateTempApplications'.]

   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2072782

   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5061884

   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234

   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275

   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +215

   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987

   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162

   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +178

   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137

   System.Web.SessionState.SqlPartitionInfo.InitSqlInfo(SqlConnection sqlConnection) +409

   System.Web.SessionState.SqlStateConnection..ctor(SqlPartitionInfo sqlPartitionInfo, TimeSpan retryInterval) +531

   System.Web.SessionState.SqlSessionStateStore.GetConnection(String id, Boolean& usePooling) +237

   System.Web.SessionState.SqlSessionStateStore.ResetItemTimeout(HttpContext context, String id) +72

   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +839

   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +96

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.233

 

9/30/2011 9:37:07 PM
Gravatar
Total Posts 2

Re: Invalid object name 'tempdb.dbo.ASPStateTempApplications'.

I finally figured it out - I had a left-over web.config file in the root folder which was causing the problem.

I removed that web.config and now mojoPortal is working correctly.

 

-Mark

You must sign in to post in the forums. This thread is closed to new posts.