H
Hilton
Hi,
I have been successfully downloading HTML using HttpWebRequest and
HttpWebResponse. However one particular URL (very simple HTML) gives me:
Emulator:
System.IO.IOException: The chunk length was not valid. --->
System.FormatException:FormatException
Dell Axim X5 (400 MHz) with SP1:
System.IO.IOException:Could not find resource assembly --->
System.FormatException:FormatException
Command Prompt (XP with .NET Service Patches etc):
Works just fine!
I have stepped through the response stream byte by byte. It reads a 10
(newline), then when it goes to read the next byte, it throws the exception.
The read is in the middle of the HTML (not at the end). Any ideas? Is
there a known issue? Why the inconsitencies?
BTW: I just tried the same code with http://www.cnn.com and it downloads
every single character just fine...
Any work around would be very much appreciated.
Many thanks!
Hilton
I have been successfully downloading HTML using HttpWebRequest and
HttpWebResponse. However one particular URL (very simple HTML) gives me:
Emulator:
System.IO.IOException: The chunk length was not valid. --->
System.FormatException:FormatException
Dell Axim X5 (400 MHz) with SP1:
System.IO.IOException:Could not find resource assembly --->
System.FormatException:FormatException
Command Prompt (XP with .NET Service Patches etc):
Works just fine!
I have stepped through the response stream byte by byte. It reads a 10
(newline), then when it goes to read the next byte, it throws the exception.
The read is in the middle of the HTML (not at the end). Any ideas? Is
there a known issue? Why the inconsitencies?
BTW: I just tried the same code with http://www.cnn.com and it downloads
every single character just fine...
Any work around would be very much appreciated.
Many thanks!
Hilton