Saturday, March 24, 2012

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\Windows\Current Version\Internet Settings
& HKCU\Software\Microsoft\Windows\Current Version\Internet 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.comHi A. Ashby:

Those should be the settings you are looking for (see
http://support.microsoft.com/defaul...b;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.com"
<forum@.nospam.DotNetMonster.com> 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\Windows\Current Version\Internet Settings
>& HKCU\Software\Microsoft\Windows\Current Version\Internet 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

0 comments:

Post a Comment