System net web exception when the system is connected for a while.
- by Sharpeye500
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.