Showing posts with label session. Show all posts
Showing posts with label session. Show all posts

Tuesday, March 6, 2012

"Either the computer running IIS is out of memory, or an incorrect session ID was sent in a

Has anyone ever seen this error? It's listed as SSCE_M_INVALIDRSCBID on this page.

That site also advises very clearly:

"If you experience any errors with the prefix "Internal error" while you use SQL Server Compact Edition, try the operation again as the error might not reproduce. If the error appears again, you should immediately contact Microsoft Product Support Services. The internal errors cannot be resolved by common troubleshooting techniques."

IIS 6.0 is located on a separate server from SQL Server 2005. Installation instructions from Microsoft.com were followed to a "T". I've spent a full day with our client's DBA enabling/disabling various settings on these two servers. Replication works fine if IIS is running on the same server. I'm confident our publication and web-sync settings are correct.

There is no firewall between these servers. They are on the same local network.

Have you been able to resolve this, noluck? I encountered the same problem. I posted it here before finding your post:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1601966&SiteID=1

In my case, IIS and SQL Server are on the same machine.

"Either the computer running IIS is out of memory, or an incorrect session ID was sent in a

Has anyone ever seen this error? It's listed as SSCE_M_INVALIDRSCBID on this page.

That site also advises very clearly:

"If you experience any errors with the prefix "Internal error" while you use SQL Server Compact Edition, try the operation again as the error might not reproduce. If the error appears again, you should immediately contact Microsoft Product Support Services. The internal errors cannot be resolved by common troubleshooting techniques."

IIS 6.0 is located on a separate server from SQL Server 2005. Installation instructions from Microsoft.com were followed to a "T". I've spent a full day with our client's DBA enabling/disabling various settings on these two servers. Replication works fine if IIS is running on the same server. I'm confident our publication and web-sync settings are correct.

There is no firewall between these servers. They are on the same local network.

Have you been able to resolve this, noluck? I encountered the same problem. I posted it here before finding your post:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1601966&SiteID=1

In my case, IIS and SQL Server are on the same machine.

Saturday, February 11, 2012

#temp table - Checking if it exists

Hi,
I'd like to check if a #temp table I created in a previous session still
resides on the DB.
I've used the following code and have had no luck
*************
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]')
)
drop table #tempTry:
IF OBJECT_ID('tempdb..#temp') IS NOT NULL
DROP TABLE #temp
Hope this helps.
Dan Guzman
SQL Server MVP
"Jacques Victor" <jacques@.ideosphere.co.za> wrote in message
news:%23I0cQMOOEHA.1616@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I'd like to check if a #temp table I created in a previous session still
> resides on the DB.
> I've used the following code and have had no luck
> *************
> IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]
'))
> drop table #temp
>

#temp table - Checking if it exists

Hi,
I'd like to check if a #temp table I created in a previous session still
resides on the DB.
I've used the following code and have had no luck
*************
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]'))
drop table #tempTry:
IF OBJECT_ID('tempdb..#temp') IS NOT NULL
DROP TABLE #temp
--
Hope this helps.
Dan Guzman
SQL Server MVP
"Jacques Victor" <jacques@.ideosphere.co.za> wrote in message
news:%23I0cQMOOEHA.1616@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I'd like to check if a #temp table I created in a previous session still
> resides on the DB.
> I've used the following code and have had no luck
> *************
> IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]'))
> drop table #temp
>

#temp table - Checking if it exists

Hi,
I'd like to check if a #temp table I created in a previous session still
resides on the DB.
I've used the following code and have had no luck
*************
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]'))
drop table #temp
Try:
IF OBJECT_ID('tempdb..#temp') IS NOT NULL
DROP TABLE #temp
Hope this helps.
Dan Guzman
SQL Server MVP
"Jacques Victor" <jacques@.ideosphere.co.za> wrote in message
news:%23I0cQMOOEHA.1616@.TK2MSFTNGP12.phx.gbl...
> Hi,
> I'd like to check if a #temp table I created in a previous session still
> resides on the DB.
> I've used the following code and have had no luck
> *************
> IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[#temp]'))
> drop table #temp
>