jamie_pattison
Well-known member
- Joined
- Sep 9, 2008
- Messages
- 116
- Programming Experience
- Beginner
I have an unusual problem her. using a WebRequest and WebResponse object to get some data from an external server.
During testing, if i attempt to access the server and contents, my first attempt - runs fine. Second attempt do the same task and that runs fine too. Third attempt nothing happens.
I thought this may be because ive not released any resouces - so pretty much set everything to nothing. This didnt work. I then thought perhaps the server is noting that im attempting too many times in a short space of time, i then attempted to access after 1 minute or so and the same issue.
I have Try blocks to catch any exceptions and none are raised.
Would anyone know what and why this is happening or how to narrow down the issue?
Thanks
During testing, if i attempt to access the server and contents, my first attempt - runs fine. Second attempt do the same task and that runs fine too. Third attempt nothing happens.
I thought this may be because ive not released any resouces - so pretty much set everything to nothing. This didnt work. I then thought perhaps the server is noting that im attempting too many times in a short space of time, i then attempted to access after 1 minute or so and the same issue.
I have Try blocks to catch any exceptions and none are raised.
Would anyone know what and why this is happening or how to narrow down the issue?
Thanks