Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2005

Tip: Looking for answers? Try searching our database.

WebProxy.GetDefaultProxy is empty.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Santiago - 01 Sep 2005 22:33 GMT
I am using the WebProxy.GetDefaultProxy()  function to read the IE settings, but it's returning an empty WebProxy object.  Are there any known reasons why this is not reading the proxy settings in IE 6?

Thanks,

Sam

Signature

_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________

Malar - 07 Sep 2005 02:39 GMT
It should.. Which version of the framework are you using? 1.1 or 2.0

What is your IE Settings ?
GoTo Tools-> InternetOptions -> Connections-> lansettings

Are you using any config files?

Do you mean that you are getting
webProxy.GetDefaultWebProxy = null

or
WebProxy.GetDefaultProxy().Address as null

For the later to return a  value the Tools-> InternetOptions ->
Connections-> lansettings->proxyServer has to be explicitly set

> I am using the WebProxy.GetDefaultProxy()  function to read the IE settings, but it's returning an empty WebProxy object.  Are there any known reasons why this is not reading the proxy settings in IE 6?
>
> Thanks,
>
> Sam
Sam Santiago - 09 Sep 2005 07:21 GMT
This is with the .NET framework 1.1.  I did set the settings in IE in the
correct location.  The returned WebProxy object in not null, but none of the
settings from IE are in it.  As if the proxy settings in IE were not set.

Thanks,

Sam

Signature

_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________

> It should.. Which version of the framework are you using? 1.1 or 2.0
>
[quoted text clipped - 19 lines]
>>
>> Sam

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.