Apr 152011

After upgrading to WordPress 3.1.1 I had a ton of issues having Live Writer connect to DragonBlogger.com but I think they ended up being unrelated to the upgrade and instead due to the number of articles I had published on DragonBlogger.com.

I could write articles and publish them, but if I tired to open articles on my site I would get the following error:


The response to the metaWeblog.getRecentPosts method received from the blog server was invalid:

Invalid response document returned from XmlRpc server

I could tell from this log that the actual method "metaWeblog.getRecentPosts" was what was specifically failing because it worked when I tried to open pages instead of posts. 

To fix the issue, I had to dig into Live Writer’s log files to learn more, you can find Live Writer logs by doing the following.

Open up an explorer Window and navigate to: %LOCALAPPDATA%\Windows Live Writer\

(The above is for Windows 7 and Vista, if you are looking in Windows XP you need to go to %USERPROFILE%\Local Settings\Application Data\Windows Live Writer\ instead.

In searching through the log I found this information:

<b>Fatal error</b>:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in <b>/home3/dragonb2/public_html/wp-includes/meta.php</b> on line <b>339</b><br />
WindowsLiveWriter,1.4392,None,00057,07-Apr-2011 12:50:47.347,"DisplayableException occurred: WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponseException: Invalid Server Response – The response to the metaWeblog.getRecentPosts method received from the blog server was invalid:

Invalid response document returned from XmlRpc server

I could tell I was reaching some sort of memory cap here, and after doing some search about it I found out my limit of 64M in the php.ini file in my WordPress home directory was too low for Writer to read in what it needed.  I had to bump up my memory to 128M by changing my line in my php.ini to:

memory_limit = 128M      ; Maximum amount of memory a script may consume (16MB)

And once I did this, the problem immediately went away when I tried to have Live Writer reload my blog post themes. 

So in finding out how to solve this problem for Live Writer, I also solved several other Live Writer WordPress problems and will post them here as well.

Fix Live Writer File Upload Limits

To allow Live Writer to upload larger image files to WordPress, edit your php.ini file on your blog server and change this file.

upload_max_filesize = 2M

to say

upload_max_filesize = 10M

This will allow you to upload images of up to 10mb in size, if you need larger then set it larger but make sure it is below the memory limit.  I don’t recommend uploading huge images as they would take to long to display in the browser, however if you want to upload files or software so readers can download them from your site you may have to increase this limit much higher.


Windows Live Writer still has a ways to go to be completely compatible with WordPress but it does work better than most applications.  Unfortunately there isn’t very much development for extensions and barely one new extension shows up every few months in the gallery.  In addition the theme detection has the annoying habit of publishing a "temporary post" just to set the theme which only does so correctly sometimes anyway.

I will have a follow up article on how to fix WordPress theme issues with Live Writer.  I still write most of my articles in Live Writer and only do last minute editing, adding featured images and SEO tweaks directly in the WordPress editor.  The ability to copy paste images in Live Writer plus be able to write content offline and publish later is still extremely convenient.

-Dragon Blogger

Justin Germino
Working in the IT Industry for over 13 years and specializing in web based technologies. Dragon Blogger has unique insights and opinions to how the internet and web technology works. An Avid movie fan, video game fan and fan of trying anything and everything new.
Justin Germino


Technology, Gaming and Wordpress blogger who runs gadget giveaways, helps others with blogging tips, monetization, earning and more!
Freemake Video Converter: Top 10 Hidden Gems for a Techie https://t.co/Q7xh9Tup8O - 26 mins ago
Justin Germino
  • Dennis Edell @ Direct Sales Marketing

    Sounds like a big mess for non-techs such as myself.

  • That’s great information, sadly for people with WordPress sites and those who don’t have access to edit the PHP of their site; this presents a fairly large problem.

    It’s also known that Windows Live Writer can’t pull posts over 100 because of the same type issue; it’s how Windows Live Writer pulls/requests information from the WordPress server— and the WordPress server max’s out the memory and Windows Live Writer crashes.

    With Windows Live Writer meshed with WordPress.com as the replacement for the failed Windows Live Spaces— I hope they start doing some real development.

    nice post.

    Until next time,
    Larry Henry Jr.

    • It wasn’t even about Live Writer pulling 100 posts at a time, I was getting this error trying to set it to show last 25 posts, the problem is that it seems to read in everything in order to show the last 25 and this is where the memory limit kept getting a snag.

  • Had a similar error last night and I was lucky to later detect that it was caused by my new theme’s function.php file. I edited it and it started working again 😉

  • Love your “Share This Article on Twitter!!” Is it a plugin, what plugin?
    ITProGuru Dan Stolts

    • This is Twitter Anywhere which is a DEV Twitter tool, here are instructions on how to configure for a WordPress blog http://www.wpbeginner.com/wp-tutorials/how-to-add-twitter-anywhere-in-wordpress/ I still do it manually with the code in my theme php files, I don’t know if there is a plugin that does it automatically since you do have to setup create a Twitter app for it first anyway.