System.Net.WebException--The underlying connection was closed:
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi All, I have developed a ASP.NET application and I am using XML webservice. In there I have set the timeout property as 10 minitues. But I am getting following error after one minitue. The underlying connection was closed: The connection was closed unexpectedly. code part is as follows lobjService = new MyService(); lobjService .Timeout = 10 * 60 * 1000; object[] results = lobjService .AgentAvailabilities(lobjCriteria); How can I avoid the exception and take results? . thanks in advance.