Hello everybody

I am having this problem...: I have an application that uses System.Net.WebClient class in order to fetch data from a remote location. When I am running the application as standalone, having it as trusted in both firewall & defence+, it works fine. However when I am trying to debug it via Visual Studio 2010, as soon as I am trying to use WebClient class, the whole system hangs and I have to terminate the processes. I tried to disable both fw & d+, but unfortunately I had the same results...
The code where it hangs is the code below:
Dim MyWebClient As WebClient = New WebClient()
Dim ur As New Uri("http://my.testserver.com/")
With MyWebClient
With .Headers <-- IT HANGS IN THIS LINE!!!!
.Add("Connection", "keep - alive")
.Add("Keep-Alive", "115")
.Add("Accept", "text/html,image/jpg")
.Add("Accept-Charset", "ISO-8859-1,utf-8;")
.Add("Accept-Encoding", "gzip,deflate")
End With
AddHandler .DownloadDataCompleted, AddressOf DownloadDataCallback
.DownloadDataAsync(ur)
End With
Any ideas?
edit: I have to add that both VS2010 and the debugging process (devenv.exe & IntelliTrace.exe) are trusted files in both fw & d+