Ask a questionAsk a question
 

AnswerHTTP Status 417: Expectation Failed

  • Monday, March 06, 2006 2:15 PMDelboy6969 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Hope someone knows the solution to this problem as it's driving me insane !

    I have Visual Studio Pro 2005 installed.  I do NOT have the local MSDN installed.   I want to use online version only.

    Whenver I go to the help I get "Information not found".   Document explorer is configured to use "Online first, then local".

    If I hit the search button and enter a search string I get the error message below:
    Search Failed.
    The request failed with HTTP Status 417: Expectation failed.

    If I try to 'download provider list' in the help options I get error message :
    Unable to retrieve resources from the MSDN service.

    The start page loads the MSDN without problem - as does my web browser.

    I have proxy configuration script - have tried some suggestions on here for that but they don't seem to be related to this error message.

    Any ideas anyone ??

Answers

  • Monday, March 20, 2006 9:12 PMSaurabh Jain VSMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi,

    It seems that this error can also occur on some proxies that don't support "100 continue" expectation. The workaround is to add the following to the dexplore.exe.config file.

    <configuration>

    <system.net>

    <settings>

                <servicePointManager expect100Continue="false" />

    </settings>

    </system.net>

    </configuration>

     

    --

    Regards,

    Saurabh

All Replies

  • Friday, March 10, 2006 9:43 AMjhin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am experiencing the same problem. If you find a solution, please let me know.
  • Wednesday, March 15, 2006 1:52 AMSaurabh Jain VSMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Can you describe your proxy environment, i.e. whether it is ISA or Squid or something else? Also, does it require authentication when browsing in IE?

    --
    Regards,
    Saurabh

  • Thursday, March 16, 2006 8:56 PMSaurabh Jain VSMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Researching on the internet, it seems that some ad-blocking/SOAP blocking proxies result in the HTTP 417 errors. Following is an example of it.

    http://support.sourcegear.com/viewtopic.php?p=373#373

    Is it possible that proxies you are using are using one of blocking mechanisms? Help Search using Web Service calls and will fail if SOAP message is blocked.

    --
    Regards,
    Saurabh

     

  • Monday, March 20, 2006 9:12 PMSaurabh Jain VSMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi,

    It seems that this error can also occur on some proxies that don't support "100 continue" expectation. The workaround is to add the following to the dexplore.exe.config file.

    <configuration>

    <system.net>

    <settings>

                <servicePointManager expect100Continue="false" />

    </settings>

    </system.net>

    </configuration>

     

    --

    Regards,

    Saurabh

  • Tuesday, March 21, 2006 8:22 AMDelboy6969 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    That works perfectly!   Many thaks again Saurabh.
  • Tuesday, October 02, 2007 2:51 PMCarlo Rivolta Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Now my MSDN C# 2005 Explorer is faster.

    But I cannot download the provider list. A messagebox displays : "Error getting Codezone Community sites. Configuration Sytsem Failed to inizialize."

     

    Help me