Andre's Blog

Personal blog of Andre Perusse

Visual Studio 2012, Extension Updates, and (417) Expectation failed

While running Visual Studio 2012 behind a proxy, I received the following error message when checking for extension updates in the Visual Studio Gallery:

The remote server returned an unexpected response: (417) Expectation failed

A look around Google finally revealed a solution here:

http://www.jlpaonline.com/?p=176

Basically, he's saying the fix is to edit your devenv.exe.config file and change this:

<settings>
     <ipv6 enabled="true"/>
</settings>

to this:

<settings>
     <ipv6 enabled="true"/>
     <servicePointManager expect100Continue="false"/>
</settings>

Thanks, Jeff!

Comments (13) -

  • Gianni

    3/20/2013 11:36:01 AM |

    thank you very much Andre Perusse to share this post and Thank you to Jeff for the perfect solution.

  • Steve

    2/24/2014 7:51:07 AM |

    Doesn't work for me. Ohhhhhhhhhhh...

  • Webo

    3/19/2014 4:33:33 AM |

    It works*** but u have to restart your VS

  • Chop

    4/4/2014 8:53:31 AM |

    PERFECT! Thanks.

  • Gustavo Alzate Sandoval

    4/29/2014 3:09:35 PM |

    Thank you so much!

  • Mauro

    5/12/2014 11:15:55 PM |

    Thanks guys Smile

  • Bilal

    6/25/2014 3:27:28 PM |

    it is not working on mine Frown
    it gives (please checked if this file is opened in other program)
    please help me to resolve it

  • Erick Mendonça

    7/17/2014 2:26:08 PM |

    Worked for me, thanks!

  • k4st0r42

    7/21/2014 9:44:01 AM |

    Worked for me too, thank you Smile

  • Ngesh

    8/8/2014 9:20:22 AM |

    Where do I get the file?

  • Andre Perusse

    8/8/2014 11:31:24 AM |

    The devenv.exe.config file is usually located here:

    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

  • Milan

    3/22/2016 7:55:29 AM |

    Thank you very much, it worked! Laughing

  • Sami

    11/8/2016 7:31:00 AM |

    Thank You Very Much...!

Loading