I get "(500) Internal server error" on line 1 only with
http://www.futuresource.com as URL (below).
What could ne the reason and how to overcome it?
TIA
Dim returnValue As Stream
Dim HttpWRqst As HttpWebRequest
Dim HttpWResp As HttpWebResponse
HttpWRqst = CType(WebReques t.Create("http://www.futuresourc e.com"),
HttpWebRequest)
HttpWRqst.Maxim umAutomaticRedi rections = 24
HttpWRqst.Maxim umResponseHeade rsLength = 24
Try
HttpWResp = CType(HttpWRqst .GetResponse(), HttpWebResponse )
'line 1
returnValue = HttpWResp.GetRe sponseStream()
Catch webex As WebException
MsgBox(webex.Me ssage, MsgBoxStyle.Cri tical, "WebRequest : " &
urlMarket)
End Try