error:
System.Web.HttpException: Exception of type System.Web.HttpException was
thrown. ---> System.Web.HttpException: Unable to connect to SQL Server
session database. ---> System.Data.SqlClient.SqlException: General network
error. Check your network documentation.
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at System.Web.SessionState.SqlStateClientManager.DoGe t(String id, SqlCommand
cmd)
--- End of inner exception stack trace ---
at System.Web.SessionState.SqlStateClientManager.DoGe t(String id, SqlCommand
cmd)
at System.Web.SessionState.SqlStateClientManager.GetE xclusive(String id)
at
System.Web.SessionState.SqlStateClientManager.Syst em.Web.SessionState.IStateClientManager.BeginGetEx clusive(String id, AsyncCallback cb, Object state)
at System.Web.SessionState.SessionStateModule.GetSess ionStateItem()
at
System.Web.SessionState.SessionStateModule.PollLoc kedSessionCallback(Object
state)
--- End of inner exception stack trace ---
at System.Web.HttpAsyncResult.End()
at System.Web.SessionState.SessionStateModule.EndAcqu ireState(IAsyncResult ar)
at System.Web.AsyncEventExecutionStep.OnAsyncEventCom pletion(IAsyncResult ar)
symptom:
we occasionally experience a large number of persistent locks requests for
specific sessionid on the sql state server used by our web apps.
from our experimentation.
if a sessionid in the ASPStateTempSessions has it's field locked, set to 1
and not set back to 0, and another request is made for the same session the
locking behavior above occurs resulting in the error above.
we have not been able to replicate it well.
we typically experience it under heavy load.
any additional information anyone could provide would be greatly appreciated.
-seth 2 3522
Seth,
Were you able resolve the "Unable to connect to SQL Server session database"
error?
We are running on Windows 2003 web farm and I get this error as well as a
"OutOfMemoryException.. Unable to serialize the session state error after
the app is running for a couple hours."
Thanks, dave.
"SethHer" wrote: error:
System.Web.HttpException: Exception of type System.Web.HttpException was thrown. ---> System.Web.HttpException: Unable to connect to SQL Server session database. ---> System.Data.SqlClient.SqlException: General network error. Check your network documentation.
at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at System.Web.SessionState.SqlStateClientManager.DoGe t(String id, SqlCommand cmd)
--- End of inner exception stack trace ---
at System.Web.SessionState.SqlStateClientManager.DoGe t(String id, SqlCommand cmd)
at System.Web.SessionState.SqlStateClientManager.GetE xclusive(String id)
at System.Web.SessionState.SqlStateClientManager.Syst em.Web.SessionState.IStateClientManager.BeginGetEx clusive(String id, AsyncCallback cb, Object state)
at System.Web.SessionState.SessionStateModule.GetSess ionStateItem()
at System.Web.SessionState.SessionStateModule.PollLoc kedSessionCallback(Object state)
--- End of inner exception stack trace ---
at System.Web.HttpAsyncResult.End()
at System.Web.SessionState.SessionStateModule.EndAcqu ireState(IAsyncResult ar)
at System.Web.AsyncEventExecutionStep.OnAsyncEventCom pletion(IAsyncResult ar)
symptom:
we occasionally experience a large number of persistent locks requests for specific sessionid on the sql state server used by our web apps.
from our experimentation.
if a sessionid in the ASPStateTempSessions has it's field locked, set to 1 and not set back to 0, and another request is made for the same session the locking behavior above occurs resulting in the error above.
we have not been able to replicate it well. we typically experience it under heavy load. any additional information anyone could provide would be greatly appreciated.
-seth This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: bonehead |
last post by:
I'm still a novice when it comes to session security issues. The
problems I'm trying to solve may be fairly common, but I haven't seen
examples of solutions in any of the books I've looked at.
I...
|
by: Scott Vercuski via .NET 247 |
last post by:
Hello all,
I have a question with respect to the ASP Session State. Here's the scenario I have. I've setup the session on our SQLserver in the ASPState.ASPStateTempSessions table. I can seethe...
|
by: Tim W. |
last post by:
Folks.
In a B2B Procurement system we've created, we got following Session-Issue:
Configuration: We are using IIS 6.0 and added SQL-Based-Sessions in
web.config with a timeout of 240 minutes...
|
by: Tejaswi |
last post by:
Hello!
I have set the Session Timeout to 5 minutes. I login to the Web Page and
then wait for 6 minutes. Then I again try to get the page and the Session
does not expire.
I checked the Expires...
|
by: Seetha J |
last post by:
I work on a website where users can apply for different types of loans. Depending on the type of loan we store various sets of data in Session state which is maintained in SQL Server. If the user...
| |
by: Mark Reed |
last post by:
Hi All,
I'm having a problem with the following code. I've read quite a lot of
old posts regarding the issue but none seem to affer a solution.
The scenario is. I have a bound form which...
|
by: sabrina |
last post by:
Hi,
I am trying to set my web application to use sql server mode for session
state. I have made the change to the web.config and ran
InstallPersistSqlState. When the application runs, I can...
|
by: Access Programming only with macros, no code |
last post by:
ERROR MESSAGE:
Could not update; currently locked by another session on this
machine.
BACKGROUND
I have the following objects:
Table1 - HO (which has about 51,000+ records)
Table2 -...
|
by: prakashwadhwani |
last post by:
The Delete Event/Proc & "Save_Fields_In_Form_Header" Event/Proc in
my form were working perfectly.
However, after I added a call to the "Save_Fields_In_Form_Header"
Event/Proc in the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |