A
Al Cadalzo
I'm getting this error In DEBUG mode with 'Break into the debugger' option
turned on I get an IO
Exception:
'Cannot close stream until all bytes are written.'
Followed by a 'WebException':
The RemoteServer returned an error (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
I'm using VS.Net v7.1.3052
I'm using WebClient to do a POST:
Here's a code snippet:
(C#)
Byte[] responseArray = null;
try
{
responseArray = _webClient.UploadData(_curURL, "POST", byteArray); <<
Exception occurs here.
_curPage = System.Text.Encoding.ASCII.GetString(responseArray);
}
Any ideas?
Thanks,
Al
turned on I get an IO
Exception:
'Cannot close stream until all bytes are written.'
Followed by a 'WebException':
The RemoteServer returned an error (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus()
I'm using VS.Net v7.1.3052
I'm using WebClient to do a POST:
Here's a code snippet:
(C#)
Byte[] responseArray = null;
try
{
responseArray = _webClient.UploadData(_curURL, "POST", byteArray); <<
Exception occurs here.
_curPage = System.Text.Encoding.ASCII.GetString(responseArray);
}
Any ideas?
Thanks,
Al