提出问题提出问题
 

已答复HTTP Status 417: Expectation Failed

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

答案

  • 2006年3月20日 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

全部回复

  • 2006年3月10日 9:43jhin 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I am experiencing the same problem. If you find a solution, please let me know.
  • 2006年3月15日 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

  • 2006年3月16日 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

     

  • 2006年3月20日 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

  • 2006年3月21日 8:22Delboy6969 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    That works perfectly!   Many thaks again Saurabh.
  • 2007年10月2日 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