Fixing "The remote server returned an error: (417) Expectation Failed" error while getting lic file #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I got the "Send to WP7 has stopped working" message when running the just installed application (no lic file in the app directory) on my work machine (behind a proxy). The log file in the app directory had the following exception "The remote server returned an error: (417) Expectation Failed."
Creating a SendToWP7Desktop.exe.config file with the following content has fixed the problem
<?xml version="1.0"?> <configuration> <system.net> <settings> <servicePointManager expect100Continue="false" /> </settings> </system.net> </configuration>More on the problem here: http://stackoverflow.com/questions/566437/http-post-returns-the-error-417-expectation-failed-c
NOTE: I have not managed to build the solution on my Windows 7 x64 machine (missing Microsoft.Windows.Common-Controls assembly), so I have not got a chance to assure the fix actually works. If you have a minute to make an installer with the patch, then I can check it on my machine and see if it works.