Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.Net.WebClient Post through Proxy/ISA Server

Status
Not open for further replies.

bernie321

Programmer
Joined
Jan 7, 2004
Messages
477
Location
GB
Hi

I am running an application on our ISA Server machine which posts, using
Webclient, to a remote website.

The application works in front of the Proxy/ISA Server but does not behind
it.

Any help would be much appreciated

Thanks

B
 
Sorry I can't help, I've spent a few days beating on the same issue, and may have to do so again in the future. But if you figure it out, please post your solution!

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Hi Rick

Ive got a solution:

System.Net.GlobalProxySelection.Select = New System.Net.WebProxy("MY-ISA-SERVER", 8080)

I have had to disable Authentication on Outgoing Requests as I cannot seem to get the Credentials correct for the webclient, if you find a solution to this it will be much appreciated.

Hope it helps

Thanks
B
 
That was the same issue I ran into. Only our networkers aren't so up on the idea of unvalidated requests going out.

I'm a little back logged at the moment, but I think we'll be attempting some data transfers for an external site in a few weeks. If I run into a solution, I'll post it.

-Rick

----------------------

[monkey] I believe in killer coding ninja monkeys.[monkey]
 
Thanks Rick

Will look forward to hearing from you.

Cheers
B
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top