MSDN > 論壇首頁 > Developer Documentation and Help System > HTTP Status 417: Expectation Failed
發問發問
 

已答覆HTTP Status 417: Expectation Failed

  • Monday, 6 March, 2006 14:15Delboy6969 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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 ??

解答

  • Monday, 20 March, 2006 21:12Saurabh Jain VSMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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

所有回覆

  • Friday, 10 March, 2006 9:43jhin 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I am experiencing the same problem. If you find a solution, please let me know.
  • Wednesday, 15 March, 2006 1:52Saurabh Jain VSMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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, 16 March, 2006 20:56Saurabh Jain VSMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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, 20 March, 2006 21:12Saurabh Jain VSMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    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, 21 March, 2006 8:22Delboy6969 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    That works perfectly!   Many thaks again Saurabh.
  • Tuesday, 2 October, 2007 14:51Carlo Rivolta 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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