Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,

I am trying to fetch some data from a device using my application, using a webservice.
I am using HttpWebRequest object to get the data from my service... everything works well until the response is received within 60 secs, but when the device takes more than 60 secs to respond then GetResponse callback fires a duplicate request.

But if service returns data before 60 seconds then it works....

Note: i have already tried to set the timeout to 200 seconds
request.Timeout = 200000;
Still this doesn't work out.

did anybody faces any issue like this before???
Please help
Dinesh.
Posted
Comments
Sergey Alexandrovich Kryukov 7-Feb-14 15:30pm    
The problem is somewhere else. How about some short code sample reproducing the problem?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900