By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,989 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,989 IT Pros & Developers. It's quick & easy.

Unable to write data to transport connection

P: n/a
Hello All,
I get this message when I am trying to post data to some site. I don't
get the same message from this other site I have my application running on.
Dim req As System.Net.WebRequest =
req.Method = "POST"
req.Timeout = 900000
req.ContentType = "application/x-www-form-urlencoded"
Dim bytedata As Byte() =
req.ContentLength = bytedata.Length
Dim RequestStream As stream = req.GetRequestStream()
RequestStream.Write(bytedata, 0, bytedata.Length)

Dim stream As StreamReader = New
StreamReader(req.GetResponse().GetResponseStream() )
Dim webresponse As HttpWebResponse =
CType(req.GetResponse(), HttpWebResponse)

Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.