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

已答覆HTTP Status 417: Expectation Failed

  • 2006年3月6日 下午 02: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 ??

解答

  • 2006年3月20日 下午 09: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

所有回覆

  • 2006年3月10日 上午 09:43jhin 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    I am experiencing the same problem. If you find a solution, please let me know.
  • 2006年3月15日 上午 01: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

  • 2006年3月16日 下午 08: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

     

  • 2006年3月20日 下午 09: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

  • 2006年3月21日 上午 08:22Delboy6969 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    That works perfectly!   Many thaks again Saurabh.
  • 2007年10月2日 下午 02: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