Microsoft KB Archive/910804

= You receive a &quot;Proxy authentication required&quot; error message when you try to use Visual Studio 2005 online features =

Article ID: 910804

Article Last Modified on 1/16/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition
 * Microsoft Visual Studio 2005 Standard Edition

-





SYMPTOMS
When you try to use Microsoft Visual Studio 2005 online features, you may receive an error message that is similar to the following:

The request failed with HTTP Status 407. Proxy authentication required.

Note This problem also occurs when you use any product that uses Microsoft Document Explorer 8.0.



CAUSE
Visual Studio 2005 has many features that are enhanced by Internet connectivity. However, some computers are behind proxy servers that require authentication. These computers must have additional files to bypass the proxy server to use Visual Studio 2005 online features.



WORKAROUND
To work around this issue, use one of the following methods.

Method 1: Modify the Visual Studio 2005 configuration file
If the proxy server uses Windows authentication, the Visual Studio 2005 Help system cannot provide Windows credentials to the proxy server. You can modify the Visual Studio 2005 configuration file to work around this issue. When you do this, the Visual Studio 2005 Start Page is not affected, and this page downloads content correctly.

To make Visual Studio 2005 provide Windows credentials to the proxy server, either replace the code in the configuration file with the following code, or add the code starting with the  tag and ending with the  tag to the configuration file.           <ipv6 enabled=&quot;true&quot; /> <defaultProxy enabled=&quot;true&quot; useDefaultCredentials=&quot;true&quot;> <proxy bypassonlocal=&quot;True&quot; proxyaddress=&quot;http://yourproxy&quot;/> </defaultProxy> </system.net> Notes <ul> <li> You must insert the correct proxy server address for your network in the following line of code: proxy bypassonlocal=&quot;True&quot; proxyaddress=&quot;http://yourproxy:port#&quot;/ </li> <li>The configuration file has the following file name:



</li> <li>If you use the integrated Help viewer, you must add the XML code to the configuration file. The configuration file has the following file name:



</li></ul>

Method 2: Use the integrated Web browser in Visual Studio 2005
In certain cases, the proxy server may use another authentication scheme, such as LDAP-based authentication on a UNIX box. However, there is no guaranteed way to make the Visual Studio 2005 Help system provide the needed credentials to the proxy server. The Visual Studio 2005 client must be designed to prompt the user for credentials when the proxy server requests credentials. However, this prompting mechanism does not exist in Visual Studio 2005.

You may be able to work around this issue by using the integrated Web browser in Visual Studio 2005. To do this, follow these steps:
 * 1) Start Visual Studio 2005.
 * 2) On the View menu, point to Other Windows, and then click Web Browser.

An authentication message may appear when the integrated Web browser tries to access a Web site. If you are prompted for authentication credentials, go to step 3.
 * 1) Enter a valid username and password.

The Visual Studio 2005 Start Page and Visual Studio 2005 online Help may now function correctly.

<div class="references_section">