View Single Post
  #21 (permalink)  
Old January 3rd, 2007, 11:22 PM
SQLMaster SQLMaster is offline
Registered User
 
Join Date: Jan 2007
Location: Ingelheim am Rhein, Rheinland-Pfalz, Germany.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I just wanted to add the info that xins' suggestion was the one that helped me out in my VS2005 environment!

From the suggestion I've added:

        req.ProtocolVersion = HttpVersion.Version10
        req.ContentType = "application/x-www-form-urlencoded"
        req.Proxy = System.Net.WebProxy.GetDefaultProxy()
        req.AllowAutoRedirect = True
        req.MaximumAutomaticRedirections = 10
        req.UserAgent = "Mozilla/3.0 (compatible; My Browser/1.0)"

... and now everything is working fine.

Thanks a lot for this suggestion!

The internet gives and the internet takes!

Yours,
Raisor
Reply With Quote