System net web exception when the system is connected for a while.
Posted
by
Sharpeye500
on Stack Overflow
See other posts from Stack Overflow
or by Sharpeye500
Published on 2011-03-11T08:05:16Z
Indexed on
2011/03/11
8:10 UTC
Read the original article
Hit count: 304
Hi,
I have a asp.net application connecting to a .net web service, whenever i login & reach the main page, web services returns me back the data.
But if i login for may be more than 1 or 2hrs, when i click any of the links i get:
"System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
What is the fix for this? Thanks.
© Stack Overflow or respective owner