Hi,
We are using ASP.Net 2005 and SQL Server 2005. We are storing sessions in
the database. From time to time we get the following exception in the
application while the ASP.Net session tries accessing the database. This also
happens from time to time when our application is accessing the database. To
make the posting brief, I am just putting part of the exception.
Any ideas why this might be happening? Our web application is behind F5 load
balancers that does round-robin load balancing.
Thanks in advance for your help.
Sanjay
Exception information:
Exception type: SqlException
Exception message: A transport-level error has occurred when sending the
request to the server. (provider: TCP Provider, error: 0 - An existing
connection was forcibly closed by the remote host.)
Thread information:
Thread ID: 13
Thread account name: NJMGROUP\PAAWeb SQLD_svc
Is impersonating: False
Stack trace: at
System.Data.Sql Client.SqlConne ction.OnError(S qlException exception, Boolean
breakConnection )
at System.Data.Sql Client.SqlInter nalConnection.O nError(SqlExcep tion
exception, Boolean breakConnection )
at
System.Data.Sql Client.TdsParse r.ThrowExceptio nAndWarning(Tds ParserStateObje ct
stateObj)
at System.Data.Sql Client.TdsParse rStateObject.Th rowExceptionAnd Warning()
at System.Data.Sql Client.TdsParse rStateObject.Wr iteSni()
at System.Data.Sql Client.TdsParse rStateObject.Wr itePacket(Byte flushMode)
at System.Data.Sql Client.TdsParse rStateObject.Ex ecuteFlush()
at System.Data.Sql Client.TdsParse r.TdsExecuteRPC (_SqlRPC[] rpcArray,
Int32 timeout, Boolean inSchema, SqlNotification Request notificationReq uest,
TdsParserStateO bject stateObj)
at System.Data.Sql Client.SqlComma nd.RunExecuteRe aderTds(Command Behavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.Sql Client.SqlComma nd.RunExecuteRe ader(CommandBeh avior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method,
DbAsyncResult result)
at System.Data.Sql Client.SqlComma nd.RunExecuteRe ader(CommandBeh avior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.Sql Client.SqlComma nd.ExecuteReade r(CommandBehavi or
behavior, String method)
at System.Data.Sql Client.SqlComma nd.ExecuteReade r()
at System.Web.Sess ionState.SqlSes sionStateStore. DoGet(HttpConte xt
context, String id, Boolean getExclusive, Boolean& locked, TimeSpan& lockAge,
Object& lockId, SessionStateAct ions& actionFlags) 0 1205 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: DreJoh |
last post by:
I've read many articles on the subject and the majority of them give the same
solution that's in article 821625 on the MSDN website. I'm using the
following code and when a the client disconnects the child socket remains in
the CLOSE_WAIT state. Anyone have any idea what's missing?
----------------------------- Socket Code -----------------------------
namespace Sockets
{
#region Class - SocketClient
|
by: samy |
last post by:
I have an application which invokes(calls) a webservice (on IIS 5.0 , windows 2K) every 10 seconds.
After a long time(about 4 hours),the call to the webservice fails with the error
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request
at...
|
by: Dino L. |
last post by:
I wanna open connection, just if connection is closed
if(Konekcija.State != ConnectionState.Open)
Konekcija.Open();
But this code always wants to open new connection? What is wrong with
this IF statment?
|
by: Mike |
last post by:
VB .NET 2003, Pocket PC 2003, CF 1.0 SP 2
Only when I use a proxy server, I'm getting this error when attempting to
write data to a Stream object from an HTTPWebRequest object.
(System.IO.Stream.Write() raises the exception):"An existing connection was
forcibly closed by the remote host". The error only happens with fairly
large amounts of data (around 24,500 bytes).
Here is ToString() of the exception object raised:
|
by: SisAndz |
last post by:
Hello,
I'm trying to do a secure connect to the site https://212.77.100.18/p/ with
..net 2.0 HttpWebRequest class,
unfortunately for some reason I'm not able to do that - WebException is
thrown with inner exception message of "An existing connection was forcibly
closed by the remote host."
I hoped I'll solve my problem with RemoteCertificateValidationCallback
delegate which always returns "true", but it isn't called at all for this...
| |
by: balaya |
last post by:
was an error downloading 'https://pushmxtest.equitynational.com/EquityNational/PushMXService.svc/secure'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
|
by: Jim Hubbard |
last post by:
We are using a .Net 2.0 app that connects to a SQL 2005 Express DB and we
keep getting this message on the clients.
Has anyone seen this error or a solution to it?
|
by: rhepsi |
last post by:
hii all,
When im trying to upload all the resized photos from the local server onto the live ftp server, im getting an error stating tht:
"An existing connection was forcibly closed by the remote host "
For n= 0 To lstFileNames.Items.Count - 1 Step 1
Try
xImg1 = lstFileNames.Items(n).ToString()
ff.UploadFile(xImg1)
|
by: OrcaDK |
last post by:
Hi
I've started receiving sporadic SqlExceptions throughout my .NET applications (crossing ASP.NET, Windows Services, Winforms - doesn't seem application code specific):
System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.
The SQL Server (Dell PE1950, 8GB ram, Quad Xeon 2.5G+) is...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |