473,789 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Old Proxy IP Used By .NET Client Unless Forced by Machine.config

I have a .NET client that fails to communicate with a webservice because it
is looking for an old proxy IP address. The IP address of several servers
changed, including the proxy server, and since then, the client fails.
After running a trace, I can see that it is still trying to reference the
old proxy IP.

If I manually specify the new proxy IP in the machine.config on the system,
the client will connect successfully.

I have searched the registry, and did find two keys that contained the old
proxy IP (HKLM\Software\ Microsoft\Windo ws\Current Version\Interne t Settings
& HKCU\Software\M icrosoft\Window s\Current Version\Interne t Settings). Even
after modifying the proxy key to the new, correct proxy IP, it still fails.

Does anyone else know where else this old IP may be stored? Modifying the
machine.config on each system the client connects shouldn't be necessary.

TIA

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
1 1521
Hi A. Ashby:

Those should be the settings you are looking for (see
http://support.microsoft.com/default...;en-us;819961).
Perhaps you needed a restart for WinINET to pick up the proxy
settings?

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 08 Apr 2005 17:44:57 GMT, "A. Ashby via DotNetMonster.c om"
<fo***@nospam.D otNetMonster.co m> wrote:
I have a .NET client that fails to communicate with a webservice because it
is looking for an old proxy IP address. The IP address of several servers
changed, including the proxy server, and since then, the client fails.
After running a trace, I can see that it is still trying to reference the
old proxy IP.

If I manually specify the new proxy IP in the machine.config on the system,
the client will connect successfully.

I have searched the registry, and did find two keys that contained the old
proxy IP (HKLM\Software\ Microsoft\Windo ws\Current Version\Interne t Settings
& HKCU\Software\M icrosoft\Window s\Current Version\Interne t Settings). Even
after modifying the proxy key to the new, correct proxy IP, it still fails.

Does anyone else know where else this old IP may be stored? Modifying the
machine.conf ig on each system the client connects shouldn't be necessary.

TIA


Nov 19 '05 #2

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

Similar topics

7
3372
by: CT | last post by:
Hi, This might seem like a basic question but I have some doubts, please humour me. I have a client-server application using java where each client on each machine needs to directly communicate directly with the database. Do I need a separate db2 connect on each such machine. Please advice.
3
9179
by: Codex Twin | last post by:
Hello apologies if this is the wrong newsgroup to be sending this to. Basically, I have an ASP.NET application that I am trying to force to use a proxy server settings. This can be done by accessing machine.config, but I do not have access to the client machine.config machine. Therefore every request made from this application must have these proxy server settings. But I am having problems writing the code for this.
9
3453
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script. Unfortunately, the .NET Framework does not support automatic proxy discovery scripts. See: http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;307220 The article above details that the way to workaround this is to edit the...
2
5013
by: asanford | last post by:
Hello, Is there a way to associate and set the credentials for a web proxy via the config file? We are writing a client program to access both web services (via HttpWebClientProtocol subclasses) and direct web requests (via WebRequest subclasses.) In some cases, we need to go thru a WebProxy, and in other cases, we go direct. We are able to control this in the client's configuration file (app.config or machine.config) via the...
8
14091
by: A.M-SG | last post by:
Hi, I understand that we can install SOAP extensions through web.config at the server side. How do I install them at the client proxy side? Thank you, Alan
2
11433
by: rcp | last post by:
Hi all, I've read all posts from all existing threads and none of them worked to solve my problem, although its exactly the same. I'll try to explain my case and see if a kind soul could help me out: I've a win32 service in C# on a client machine A, which accesses a WS (C#) on a server machine B (hosted on an IIS) Case 1: If I try to add the WSDL for the WS through VS2005, the 'Discovery
3
5403
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
0
983
by: radiator7777 | last post by:
Hello, I'm in need of finding a way to direct my webservice to utilize the default proxy that is used by IE. I found a lot of documentation on this topic on the web and tried editing the machine.config file to include the options to either run the detault and also specified the proxy it should use. I didn't have luck with it. I also edited the default IE registry keys and now they match for all users. Any advice on where i can find a way to...
2
8183
by: =?Utf-8?B?TGVuc3Rlcg==?= | last post by:
A C# (.NET 2) application which uses the System.Net.HttpWebRequest object to request a resource over HTTPS is failing following the installation of a new proxy server on our internal network with 407 Proxy Authentication Required. The same request through the old proxy succeeds. The same request to an HTTP address through the new proxy succeeds. Also, the request succeeds when forced to use Basic authentication but fails on NTLM.
0
9663
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10404
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6765
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3695
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.