The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

 

Hi

I am using WebService in asp.net during webservices call an error occur some time. Which through the message like

 

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

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.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

 

The web service deployed on oracle application server. I m still not clear that the error on service side (Oracle application) or client side (asp.net application).

 

Please share with me if some one have idea in this scenario.

 

Thanks

 

Muhammad Nadeem

0
dimy
10/12/2007 8:14:25 AM
asp.net.config-deploy 12495 articles. 0 followers. Follow

0 Replies
1142 Views

Similar Articles

[PageSpeed] 31

Reply:

Similar Artilces:

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server
Hi I am using WebService in asp.net during WebServices call an error occur some time. Which through the message like   The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. 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.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was ...

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server
Hello everyone, Please I truly need your help. I just changed my code from asp.net 1.1 to 2.0, and my page calls both the database and webservice for data. In asp.net 1.1, my code works perfectly, but in 2.0, I keep getting this error "Exception Details: System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." I spent weeks online and I got this code, Public Class MyTestServiceInherits VHMS.SOAPService Protected Overrides Function GetWebRequest(ByVal uri As Uri) As System.Net.WebRequestDim we...

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server #2
Hi I am using WebService in asp.net during webservices call an error occur some time. Which through the message like   The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. Description: An unha...

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. (SOMETIMES)
This is an Asp.net page that gets info from a IBM Shadow web system. This works 100% for getting HTML but when a image is added an error sometimes occurs. (Could it be the amount of data transfered???). The error is : "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." This ONLY happens in .net 2.0 and NEVER in .net 1.1. I have searched but not found an applicable solution for this. Is there a property that needs to be set different?   [CODE]HttpWebRequest request = (HttpWebRequest)WebRequest.Create(sRemoteURL); /...

The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. (Alternate requests)
Hi Experts,   I am experiencing the The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. for alternate SOAP requests. Can any one help me in this.   I made default proxy settings in config file so but no luck.. <system.net>      <defaultProxy>         <proxy usesystemdefault ="false"            proxyaddress = "http://proxyserver:80"     ...

A connection that was expected to be kept alive was closed by the server
 So all of the solutions to this problem that I've read have involved disabling keepalive.  I cannot disable keepalives because I am securing the webservice using basic authentication over ssl.  Also, I do not want to disable keepalives for obvious performance reasons.  Given this, I have found that this problem ONLY occurs after I secure the web service like I just mentioned.  It runs fine unsecured.  After securing, I get this error intermittently and when it does occur, the proxy takes a long time (maybe 15 seconds) to throw the KeepAliveFailure exception...

underlying connection was closed: The connection was closed unexpectedly
Hi ,   I am working with wcf and linq  and i am facing a problem"The underlying connection was closed: The connection was closed unexpectedly. " when i am trying to return my linq query to the client.I tried for changing the code in web.config for client and server.like   Client :   <behaviors> <endpointBehaviors> <behavior name="debuggingBehaviour"> <dataContractSerializer maxItemsInObjectGraph="2147483646" />                 &nb...

Deploying HTTPPost test
Hi,I have a test page which sends an HTTPPost to another page on my server and writes out the response. It works perfectly on my Localhost but when trying it on our test server I have come accross the above problem.I have tried with our URL and the server IP as the address. I know that the Connection string is correct as I am testing the connection on the page.Here is my Post code: try { string result = ""; StreamWriter myWriter = null; HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create(server + "/messagehandler.aspx"); objRequest.Method = "POST"; objRe...

Connection.close() not closing my connection?
My servlet calls con.close() within the finally {} of a try..catch block. Yet I notice that sa_conn_info still lists the connection. Shouldn't the connection disappear from the sa_conn_info list when I close it? And if the answer to that is "yes, it should", has anybody seen situations like mine where it *doesn't* close it? Thanks for your help, Kathleen My bad... through a series of really stupid coding mistakes, I managed to cause a SQLException to be thrown from within the finally {} block before the connection could be closed... and I was ignoring the ...

The underlying connection was closed: Unable to connect to the remote server.
Hi guys, I have problem with the above HTTP response while trying to post a request from one aspx (from A site) to another aspx page (at B site) which is hosted at the same web server. Which particular area should I pay attention to ?? Thanks ictie...

The underlying connection was closed: Unable to connect to the remote server
Hi, I am getting this error message.I am using myWebClient.OpenRead(uriString) method. Stack Trace is     Accessing http://www.amfiindia.com/portal/upload/downloadnav.txtException  The underlying connection was closed:  Unable to connect to the remote server.stackrace at System.Net.HttpWebRequest. Here is my code private void Button2_Click(object sender, System.EventArgs e) { try { // Create a new WebClient instance. // Just file reader WebClient myWebClient = new WebClient(); // Download home page data. string uriString="http://www.amfiindia.co...

Underlying connection was closed. Unable to connect to remote server.
The subject is the error i get when i try to consume my webservice from my web application running on a machine outside of our firewall. Inside everything works like a charm. The machine that runs the web app is a windows 2000 server which uses a proxy. I can connect to and get information from my webservice through a browser without any problems. When i try to do it programatically from inside my webapp it fails. I found a few suggestions of things to try such as: modifying machine.config file to include the address of the proxy like so: <proxy usesystemdefault="f...

underlying connection was closed:unable to connect to remote server
I have been receiving this exception for over a week with a .NET remoting app and can't find a solution anywhere that works.  Below I'll paste my config files and the client code calling the remote method.  I'd really appreciate some assistance. The Server code and files are on a remote server within our facility and have been told more than once there is no firewall between my workstation and it.  So firewalls are out of the question as the source of the problem.  I assume its somewhere in my config files but I've tried everything I've seen on the net. I receive the Net...

Web resources about - The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. - asp.net.config-deploy

Underlying - Wikipedia, the free encyclopedia
In finance, the underlying of a derivative is an asset , basket of assets , index , or even another derivative, such that the cash flows of the ...

The Underlying Technology of Messages
We're launching a new version of Messages today that combines chat, SMS, email, and Messages into a real-time conversation. The product team ...

Ezra Klein: The Deceptive Strategy Underlying ObamaCare - YouTube
Courtesy of www.verumserum.com. Follow us at: twitter.com/verumserum. Washington Post blogger Ezra Klein, speaking at the NetRoots Nation conference ...

Qantas eyes bumper first-half underlying pretax profit of $875m to $925m
... was &quot;very committed&quot; to returning excess cash to shareholders after the company forecast it would report a bumper first-half underlying ...

Bitcoin’s continuing price fall unmasks its underlying flaws. Is this its end?
Bitcoin was dubbed the worst investment of 2014. And things don't look too good for the digital currency in 2015 either.

Google overtakes Apple as world’s most valuable tech company – by ‘underlying value’ measure
Over on 9to5google , we posted an interesting perspective by the Wall Street Journal suggesting that Google now has greater ‘underlying value’ ...

Climate announcement masks underlying tension over Xi Jinping visit to Washington
China's President Xi Jinping was greeted by a 21-gun salute at the White House lawn on Friday, but the official welcoming ceremony couldn't mask ...

CNN’s domestic ratings woes mask underlying strengths
When he announced his departure from CNN last month, President Jim Walton said the Atlanta-based news network needed “new thinking” and a plan ...

Point of sale systems at risk from underlying vulnerabilities
... Charles Henderson vice president of managed security testing at information security specialist Trustwave believes that there's a bigger underlying ...

"It was a clever, bright show on the surface, but its underlying message declared that marriage was ...
Said Dean Jones, Stephen Sondheim musical “Company.” Not long after the opening night of the musical — in which he played the central role of ...

Resources last updated: 1/17/2016 9:30:27 AM