Windows Live Writer Invalid Server Response

Filed Under: Tips & Tricks, Tutorials/How-Tos, Useful Resources, WordPress
6395 visits, 1 today

The views expressed on this website/weblog are mine alone and do not necessarily reflect the views of my employer.

I recently upgraded this blog to WordPress 2.7.1 and had trouble accessing old posts via Windows Live Writer. I get the following error message “The response to the metaWeblog.getRecentPosts method received from the blog server was invalid: Invalid response document returned from XmlRpc server”:

image

After searching the web, I found that many people have been seeing the same error message too. There are numerous reasons why this error appears and even more ways to fix this issue. Most of the explanations I found were too complicated and technical. It took me a long time to figure them out, so to spare you the technical jargon, I’ll only share how I fixed my problem.

  1. Open all the *.php files in your blog default directory and remove all the trailing spaces after the closing tag ?> at the end.  Likely culprit files are wp-blog-header.php, wp-config.php, and xmlprc.php. However, I found that several other *.php files also have trailing spaces after the ?>.
  2. Deactivate all the WordPress plugins on your blog and reactivate them one at a time. Each plugin you activate, click Open in Windows Live Writer to see if you can access any of the old posts. For me, the plugin that caused problem was Dagon Design Sitemap Generator. Other people had problems with Google Sitemap and Smart Archive plugins.

Comments:

Total 5 Comments posted Windows Live Writer Invalid Server Response