Skip to content

The request failed with HTTP status 417: Expectation Failed.

September 8, 2011

If you see this error when calling a web service probably you need to add the following section to the configuration file of the caller application:

        <servicePointManager expect100Continue="false" />

like here:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
    </configSections>
    <system.net>
    <settings>
        <servicePointManager expect100Continue="false" />
    </settings>
    </system.net>
</configuration>

If you are interested in what you just did, you can start from this MSDN article.

This can be the issue when trying to use Playbooks.exe of the Project Server 2007 Resource Kit. If you get the Please set URL, Username, password correctly error when trying to log in, just check the playbookslog.txt file next to Playbooks.exe. You may find a similar error that can be resolved with adding this setting to the Playbooks.exe.config file.

PlaybooksLogger Started 09.08.2011
02:09:36
02:09:36 : Running application ServerUrlForm
02:09:42 : Server URL set to http://servername/projectserver
02:09:42 : Initializing Web Services…
02:09:44 : ERROR: The request failed with HTTP status 417: Expectation Failed. Please set URL, Username, password correctly

About these ads
2 Comments
  1. jason permalink

    Saved me. thank you!

  2. Venkatesh B permalink

    I have the same problem, and tride to add the above code to “dexplore.exe.config” in path

    “C:\Program Files (x86)\Common Files\microsoft shared\Help 8, ”

    and restarted IIS, but my problem did not solve.
    Also tried to add the same code to “web.config” on my applications but
    got another error

    “The request failed with an empty response.”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 142 other followers

%d bloggers like this: