System.Net.WebException: The request failed with HTTP status 417: Expectation Failed.

You may receive the error

System.Net.WebException: The request failed with HTTP status 417: Expectation Failed.

when using a proxy server that only supports HTTP 1.0.

To resolve this issue, edit the SyncAndSave.exe.config file located in the install folder (C:\Program Files\doForms\Sync And Save).

There is a section of the config file near the end that contains the following:

  <system.net>
    <defaultProxy useDefaultCredentials="true"></defaultProxy>
  </system.net>

Change the section to be the following:

  <system.net>
    <defaultProxy useDefaultCredentials="true"></defaultProxy>
    <settings>
        <servicePointManager expect100Continue="false" />
    </settings>
  </system.net>


Feedback and Knowledge Base