When you change your proxy server settings, the change does not take effect in Visual Studio .NET or in Visual Studio 2005 (835456)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

If you change the proxy server settings of Microsoft Internet Explorer from within the Microsoft Visual Studio .NET IDE or the Microsoft Visual Studio 2005 IDE, you may receive a proxy server error message.

CAUSE

This behavior occurs because the Microsoft .NET Framework and Visual Studio .NET or Visual Studio 2005 do not support automatic configuration of the proxy server.

WORKAROUND

To avoid this behavior, restart Visual Studio .NET or Visual Studio 2005 after you change the proxy server settings.

STATUS

This behavior is by design.

MORE INFORMATION

Steps to reproduce the behavior

To reproduce this behavior, follow these steps:
  1. In Visual Studio .NET or in Visual Studio 2005, turn on automatic proxy server configuration:
    1. On the Tools menu, click Options. The Options dialog box appears.
    2. Click Projects, click Web Settings, and then click Connection Settings. The Internet Properties dialog box appears.
    3. Click the Connections tab.
    4. On the Connections tab, click LAN Settings. The Local Area Network (LAN) Settings dialog box appears.
    5. Click to select the Automatically Detect Settings check box, and then click to clear all other check boxes.
    6. Click OK three times to close all dialog boxes.
  2. Try to add a Web reference:
    1. On the File menu, point to Open, and then click Project. The Open Project dialog box appears.
    2. Locate the folder that contains the Web application project. Click any one of the Web application projects, and then click Open.
    3. In Solution Explorer, right-click the Web application project, and then click Add Web reference. The Add Web Reference dialog box appears.
    4. In the URL box, type the URL of the Web Service Description Language (WSDL) file, and then click Go.

      You receive a proxy error. Also, under Web services found at this URL, you receive the following error message:
      The proxy settings on this computer are not configured correctly for web discovery. Click the Help button for more information.
  3. In Visual Studio .NET or in Visual Studio 2005, turn on manual proxy server configuration:
    1. On the Tools menu, click Options. The Options dialog box appears.
    2. Click Projects, click Web Settings, and then click Connection Settings. The Internet Properties dialog box appears.
    3. Click the Connections tab.
    4. On the Connections tab, click LAN Settings. The Local Area Network (LAN) Settings dialog box appears.
    5. Click to select the Use a proxy server for your LAN (These settings will not apply to dial-up or VPN connections) check box, and then click to clear the Automatically detect settings check box.
    6. Click OK three times to close all dialog boxes.
  4. Add a Web reference to the same Web application project:
    1. In Solution Explorer, right-click the Web application project, and then click Add Web reference. The Add Web Reference dialog box appears.
    2. In the URL box, type the URL of the WSDL file, and then click Go. The name of the Web reference appears in the Web reference name box.
    3. Click Add Reference.
    The Web reference is added to your Web application project.

Modification Type:MajorLast Reviewed:2/10/2006
Keywords:kbvs2005swept kbvs2005applies kbIP kbweb kbUser kbConfig kbprb KB835456 kbAudDeveloper kbAudEndUser