Start Page and Proxys

How can I make the visual studio 2005 RTM Start page work through an authenticating proxy server

Answer this question

Start Page and Proxys

  • endless glitches newbie

    am using SmoothWall Express 2.0

  • Michel Blairon

    If you are using Windows credentials to your Internet proxy, you can try adding the follwoing to your devenv.exe.config file. This file is in %vsinstalldir%\common7\ide\:< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 

    < xml version ="1.0" >
    <configuration>
        <startup>
            <supportedRuntime version="v2.0.50727" safemode="true"/>
            <requiredRuntime version="v2.0.50727" safemode="true"/>
        </startup>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <probing privatePath="PublicAssemblies;PrivateAssemblies"/>
                <dependentAssembly>
                    <assemblyIdentity name="EnvDTE" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="7.0.3300.0" newVersion="8.0.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
        <system.net>
            <settings>
                <ipv6 enabled="true" />
            </settings>
            <defaultProxy enabled="true" useDefaultCredentials="true">
                <proxy bypassonlocal="True" proxyaddress="http://yourproxy"/>
            </defaultProxy>
        </system.net>
    </configuration>



    Let me know if this works. Thanks.


  • Lion_cl

    If you have proper configuration about the proxy on your IE settings, VS start page should work the same way as your IE browser.

    Thanks,
    Daniel


  • Immo Landwerth

    I'm not really sure what proxy technology is being used where I work, but it only requires basic authentication (eg: http://username:password@proxy:3128 as the http_proxy/https_proxy environment variables, allows me to run curl commands).
    I'm kind of baffled as to why the devenv.exe.config defaultProxy fix has no effect. I've also noticed that when I use System.Net.CredentialCache in my web requests, they work fine when called from the Visual Studio ASP.Net debugging server but fail with a proxy authentication error when run from IIS in the production environment unless the webserver is running as a user with proxy permissions (obviously ignoring the CredentialCache). Daft or what

    WebRequest wr = WebRequest.Create(url);
    NetworkCredential nc = new NetworkCredential("username", "password", "domain")
    CredentialCache cc = new CredentialCache();
    cc.Add(new Uri("http://proxy:3128"), "Basic", nc);
    wr.Proxy = new WebProxy("http://proxy:3128", true, new string[] { }, cc);
    wr.Proxy.Credentials = pc;

  • Narendran

    Bill,

    If you get things working in IE but you're still having proxy issues from the Start Page - can you describe which part of the Start Page is broken and what error message you're getting   I'm curious if you're hitting the proxy issue clicking a Start Page link, or if it's the RSS feeds that are causing problems.

    Thanks!
    - Jeremy Jones

  • MadAboutC#

    Hi Bill,

    What kind of authentication does your proxy use The workaround only works for proxies that use Windows authentication. If your proxy uses LDAP authentication, for example, this workaround will not work.

    This is a bug that we are going to fix in service pack 1. In the meantime, you will have to go to MSDN to directly access the Start Page RSS feed. I apologize for the inconvenience.

    Thanks


  • Bharati Kumars

    Nope, no change. The file currently reads:

    < xml version ="1.0" >
    <configuration>
        <startup>
            <supportedRuntime version="v2.0.50727" safemode="true"/>
            <requiredRuntime version="v2.0.50727" safemode="true"/>
        </startup>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <probing privatePath="PublicAssemblies;PrivateAssemblies"/>
                <dependentAssembly>
                    <assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="2.0.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="EnvDTE" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
                    <bindingRedirect oldVersion="7.0.3300.0" newVersion="8.0.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
        <system.net>
            <settings>
                <ipv6 enabled="true"/>
            </settings>
     <defaultProxy enabled="true" useDefaultCredentials="true">
                <proxy bypassonlocal="True" proxyaddress="http://inetproxy"/>
            </defaultProxy>
        </system.net>
    </configuration>

  • Travis Shipley

    Hi,

    we use Cyberguard firewall Web Proxy here.

    Regards,


  • InoS

    We are trying to further understand what proxies you, our users, use.

    We know people use, among others, Microsoft ISA.

    Could you please tell us what other proxies you normally use when using Visual Studio

    Not only to develop on, but behind what proxies you are when you are actually using VS.

    Thanks a lot.

    JP - MSFT



  • Pedro Costa

    Hi Jeremy,

    Yes things work fine in ie. Whenever (in a new ie session) I go outside our network it properly hits our firewall, which then asks me for authentication.

    Both Visual Studio Developer News and Visual Studio Head lines are non functional (I'm guessing both are fed with rss feeds)

    If I click a start page link, for example connect with the community, It opens up the help interface and properly hits the firewall and asks for authentication.

    Hope that enough info.
    Bill

  • zombie_process

    I had the same problem when I started VS 2005, I would see the text "The current news channel might not be valid".

    I am using a proxy from a satellite internet provider and when the proxy is off, web browsing is slower, but the VS start page works.  The proxy isn't needed to use the web, it caches information so the satellite connection works better.

    I changed the devenv.exe.config file to turn off the use of a proxy by VS2005.  IE still uses its proxy and now both work.

    The setting change is to add:

        <system.net>
            <settings>
                <ipv6 enabled="true"/>
            </settings>
            <defaultProxy enabled="false" useDefaultCredentials="true">
                <proxy bypassonlocal="True" proxyaddress="http://yourproxy"/>
            </defaultProxy>
        </system.net>

    The rest of the defaultProxy settings are ignored, but I left them in for that hopeful future date when we get DSL or cable...<g>.



  • Start Page and Proxys