There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

Visual Studio Extension Manger Cannot Connect From Behind a Firewall

Recently had an issue where Visual Studio 2010 could not connect to the Internet while using the Extension Manager. I also could not connect to any remote NuGet servers either. I used Fiddler2 to see that Visual Studio was sending a header in each request that it expected a “100 Continue” response. I found somewhere on the Internet how to fix this by updating the devenv.exe.config file to tell Visual Studio not to expect the “100 Continue” response.

A couple of days ago, one of my coworkers had the same issue. This time, I new what the problem was, but could remember the syntax… so I had to look it up on the Internet again. So, for the next time that I need it, I'm putting it here.

Add the following to devenv.exe.config (in the Common7\IDE folder):

<configuration>
  <system.net>
    <settings>
      <servicePointManager expect100Continue="false" />
    </settings>
  </system.net>
</configuration>

This seems to be a known issue with some proxy servers and will be fixed in a future release; however, until then, I will continue to use this fix…

Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             


Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.


All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.