Re: IIS ASP.net Web Services Disconnected



Hi,

We have log file, and we log everything. I mean every line for this case. It
does show no exception, and it is a perfect run on the server-side. we
delete the file only it runs to the end without any exception.

It is easy for you to test as well. Have a small web service in either c# or
vb.net. Have the client connect it (with client side time out in -1), let
the connection idle for more than 1/2 hours, then the server send back
something (a bytes or an int). You can see the client just sit for hour and
hour.

I think it is not the setting in IIS. It can be augured that it is something
at the network layer since connection idling for than 20 mins is not in
Microsoft thinking.

cheers,
Egghead
"John Saunders" <john.saunders at trizetto.com> wrote in message
news:%23gMBDTx2GHA.4796@xxxxxxxxxxxxxxxxxxxxxxx
"Egghead" <robertlo_NOSPAM_@xxxxxxx> wrote in message
news:e$zhP$q2GHA.4588@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

That is what I mean, the server thinks the file is send without problem.
It is because the file is deleted afterward. We make the server deleted
the file after sucessfully send. And, no server-side or client-side
throws exception after ow when the file is send.
At the client-side, it times out after 1.5 hours if nothing happen. But
the file should be send after 30 mins.
The problem is that it seems something is broken after around 10 mins,
but either side know the connection is broken. In deed, server thinks it
send the file over and delete the file afterward. In fact, client-side
gets nothing.

Sorry, this is not possible. If the connection had broken, then the server
would have thrown an exception when trying to send over the connection.
So, either the server didn't send after the connection was broken but
simply deleted the file for no good reason; or it did send and throw an
exception which was quietly ignored, allowing the server to delete the
file; or the connection was not broken, yet the client ceased to receive.

John




.



Relevant Pages

  • Re: System.Security.SecurityException {Beginner working with ASP.NET}
    ... seems like the server is runnning with partial trust. ... In the page_load I fill the data adapter, ... grid and close the connection. ... I get this exception when attempting to view my webform in IE6. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: How to reconnect to a db automatically?
    ... Dim MyConn as new Odbc.connection ... 'The connection could not be opened ... Catch ex as exception ... For instance if the sql server is just rebooting after an update, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: HttpWebRequest.GetRequestStream:Unable to connect to the remot
    ... System.Net.WebException Unable to connect to the remote server at ... Inner exception: System.Net.Sockets.SocketException Message: A connection ... executed on the web server when invoking a remote web service. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How to reconnect to a db automatically?
    ... was tested at application launch to make sure it was valid and could ... 'The connection could not be opened ... Catch ex as exception ... For instance if the sql server is just rebooting after an update, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ADO data type validation is inconsistant with SS2Ks
    ... But the problem is that it isn't bad data because no exception is raised ... server side. ... now that I know it's client-side validation I guess I can ... > working as designed and is actually a very sound design decision. ...
    (microsoft.public.dotnet.languages.vb)

Loading