473,385 Members | 1,267 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

C#.NET application does not respect IE proxy settings

Posting this again as: rg******@newsgroup.nospam
(Also posted under dotnet.general)

We have a C# .NET app which runs as a service.
It posts data to a server using HttpWebrequest.
According to the docs I 've read, it should use the proxy settings from IE
on the server machine. But it doesn't, it always posts straight to the
server.
I tried forcing it by doing this:

WebProxy defaultProxy = WebProxy.GetDefaultProxy();
webRequest.Proxy = defaultProxy;

But that doesn't seem to make it use the proxy settings either.
On the flip side, a client I have which calls webservices DOES respect the
proxy settings without my ever telling it to do so.
How do I get the HttpWebRequest to respect the IE proxy settings?

thanks
Robb
Nov 23 '05 #1
1 4151
Hi Robb,

Thanks for your posting. Regarding on this issue, I've found another
duplicated thread in microsoft.public.dotnet.general and I have posted
reply there. I'd appreciate if you have a look there. In addition, if you
feel convenient that we continue to discuss in that thread, please feel
free to post there.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carl Waldbieser | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** When using urllib2.urlopen() on my Windows 2000 machine at work, I was puzzled that I kept getting back authentication errors from...
0
by: Chris | last post by:
Hi all, I am unable to make a functional com+ application proxy from a .net com application. I made the .net com+ application using code from the "Using Com+ Services in .Net" article in the MSDN...
0
by: Robb Gilmore | last post by:
WE have a C# .NET app which runs as a service. It posts data to a server using HttpWebrequest. According to the docs I 've read, it should use the proxy settings from IE on the server machine. ...
3
by: Robb Gilmore | last post by:
posting this again as : rgilmore@newsgroup.nospam We have a C# .NET app which runs as a service. It posts data to a server using HttpWebrequest. According to the docs I 've read, it should use...
7
by: Simon Jefferies | last post by:
Hello, I'm trying to create a new ASP. NET Web Application project, when I enter a name and press OK i get the following: Web Access Failed. The default web access mode for this project is...
3
by: Pitcairnia | last post by:
The basic purpose of the site is for authenticated users to post event listings, which often include photographs. The user is faced with a page where they can insert all of the information about...
1
by: dlutz | last post by:
Hello to all -- I am familiar with Xml in general and NET 1.1 Xml, but I am new to the ..NET 2.0 changes in System.Xml. I am trying to validate an XML document that is based on a schema that...
1
by: OlaPihl | last post by:
Hi, How can I by code enable and disable "Bypass proxy server for local adresses" in Internet Explorer / Tools / Internet Options / Connections / LAN Settings. I have made a program (VB.Net)...
6
by: JDeats | last post by:
I'm in a situation where it's difficult to get on-site and troubleshoot, so I'm looking for scenarios from those experienced on what might be causing this problem. I have a .NET 2.0 WinForms...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.