473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting this error ... tempdb.dbo.ASPStateTempApplications'

Invalid object name = 'tempdb.dbo.ASPStateTempApplications'.
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(SqlExc eption exception, =
Boolean breakConnection) +95
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException =
exception, Boolean breakConnection) +82
=
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateOb=
ject stateObj) +346
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, =
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet =
bulkCopyHandler, TdsParserStateObject stateObj) +3244
System.Data.SqlClient.SqlCommand.FinishExecuteRead er(SqlDataReader =
ds, RunBehavior runBehavior, String resetOptionsString) +186
System.Data.SqlClient.SqlCommand.RunExecuteReaderT ds(CommandBehavior =
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean =
async) +1121
System.Data.SqlClient.SqlCommand.RunExecuteReader( CommandBehavior =
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String =
method, DbAsyncResult result) +334
=
System.Data.SqlClient.SqlCommand.InternalExecuteNo nQuery(DbAsyncResult =
result, String methodName, Boolean sendToPipe) +407
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +149
System.Web.SessionState.SqlPartitionInfo.InitSqlIn fo(SqlConnection =
sqlConnection) +379
System.Web.SessionState.SqlStateConnection..ctor(S qlPartitionInfo =
sqlPartitionInfo) +545
System.Web.SessionState.SqlSessionStateStore.GetCo nnection(String id, =
Boolean& usePooling) +248
=
System.Web.SessionState.SqlSessionStateStore.SetAn dReleaseItemExclusive(H=
ttpContext context, String id, SessionStateStoreData item, Object =
lockId, Boolean newItem) +213
System.Web.SessionState.SessionStateModule.OnRelea seState(Object =
source, EventArgs eventArgs) +713
=
System.Web.SyncEventExecutionStep.System.Web.HttpA pplication.IExecutionSt=
ep.Execute() +167
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, =
Boolean& completedSynchronously) +117
Apr 23 '07 #1
2 23358
Open enterprise manager, shut down sql server and restart it. On restart of the server ASPState db should recreate the missing objects/tables in the tempdb. If not run the create temp tables SPs in the ASPState db.
Apr 16 '08 #2
I ran this on the db server that the site was connecting to and it solved it immediatly. No sql restart required. :)

USE [ASPState]
GO

DECLARE @return_value int

EXEC @return_value = [dbo].[CreateTempTables]

SELECT 'Return Value' = @return_value

GO
Sep 1 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: IMS.Rushikesh | last post by:
Hi Friends, My work is stuck up because of this unresolvable and unbelievable Error. I'm trying to Serialize my Class object using XmlSerialization. And at below line, I m getting "error File...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
1
by: bagya | last post by:
please help me out the following is the small code i have <html> <head> <script type="text/javascript"> function validate() { if (document.abc.region.value==0)
8
by: ipy2006 | last post by:
In my HTML I have, <input type="button" class="cartonsumkey" value="Sum Cartons" onclick="sumup(this);" /> In an external file that is called in Head area, I have, function sumup( o ) { ...
5
by: Archana | last post by:
Hi all, I am having application where i am downloading xml content using webrequest. my code is as below HttpWebRequest lWebRequest = (HttpWebRequest) WebRequest.Create(URL); HttpWebResponse...
1
by: jonny | last post by:
Went from using Visual Web Develop express to Visual Studio 2005 and getting error when trying to open project. Error message: "One or more projects in the solution could not be loaded for the...
21
vikas251074
by: vikas251074 | last post by:
I am getting error while entry in userid field. When user enter his user id, an event is fired immediately and user id is verified using AJAX method. But I am getting error 'Object doesn't support...
2
by: sony.m.2007 | last post by:
Hi, When i try to set a value for a session variable I'm getting a object refence not set error I tried two methods as below HttpContext.Current.Session.Add("AppStartTime", DateTime.Now);...
4
by: sumit kale | last post by:
Hi, Can somebody help me resolve my problem ? I am getting error when calculating total using unbound textfiled in subform. I have a main form called purchase_register_master and a subform...
2
by: bandy | last post by:
Hi there sorry If I posted this thread under wrong head. When I am trying to run my site I am getting error as Internal Server Error, but when I refresh page , i get result properly. I don't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.