[Solved] – Live Writer Error – The response to the metaWeblog.newMediaObject method received from the weblog server was invalid – Invalid Response Document Returned From XmlRpc Server

by Rohit Khurana on December 6, 2009

Advertisement

Trouble:

Recently when I was trying to one the blog using windows live writer, I got to face the following error when I was trying to publish the post.

invalid-server-response

As shown in the image above, this message prompt appears every time when I try to publish any post on this blogs. After analysing the windows live writer logs for the error. I figured out that DoUploadWork() (Invoked by UpdateWebLog()) method fails for some reason. After some more research I found out that it was happening due to a large pictures which was there in my blog post, Here is how I solved this problem.

Fix:

As appeared this error prompt was due to a heavy big size image in my post, so in order to fix it you I needed to increase the memory size for PHP in the server side or make the image smaller by resizing and decrease the size of the image so that it can be easily uploaded to the server. 

 

But I solved this problem quite differently by changing some options in windows live writer related to image uploading to my self hosted blog with wordpress. Here is what I did, so if you are facing this problem and your blog is self hosted with wordpress installed, follow the procedure given below.

 

1. Open Windows Live Writer, go to File Menu >> Tools >> Accounts – Select your blog and click Edit button

accounts-windows-live-writer

Advertisement

2. On the next dialog screen – Click Pictures in the left pane and then select the option to Upload pictures to an FTP server [ as shown in the image below ]

edit-image-uploading-wlw

click Configure FTP button.

3. Now enter your FTP username and password for your server and select a directory under wp-content/uploads/images [ we would suggest you to create a new folder named Images for pictures upload ]

ftp-image-upload

As shown in the image above you can specify the folder where all the pictures in your blog posts will be uploaded and the URL of the picture publishing folder shown to people. click Ok 2 times to set this setting.

 

Now try to post the blog post containing heavy images now, it will not give any error prompt and post will be published immediately.  :)

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 10 comments… read them below or add one }

JackuB December 8, 2009 at 1:03 pm

Thanks, it saved my life 😉
Much better solution, then changing php.ini values etc.

'Ammar Yusri December 23, 2009 at 8:53 pm

awesome solution. thanks mate
now i can post without any problem :)

Ian Scott February 26, 2010 at 12:06 pm

My upload failed with the smallest of photos to my Joomla site with an upload limit of 100M – this solution worked perfectly.

Thankyou
Ian

Daniel Westerdale March 5, 2010 at 4:29 am

Hi

Yes this worked for me too and I was able to publish an article with mutiple images. Thanks again

Sam April 7, 2010 at 9:58 pm

Thanx a lot frend…..
now i can post without any prob….

Chris Guld July 7, 2010 at 1:55 am

I only had a small image. This problem has been haunting me for months. Your solution worked!
Thank you. I will retweet it.

Laurie Cope July 23, 2010 at 7:00 pm

Spent ages on this, no other solution online worked except this one! Worked right away, thanks a lot.

Rohit Mishra July 30, 2010 at 3:18 pm

Thanks for the tutorial. Really helped me. Would have been stuck otherwise.

Øyvind Granberg October 3, 2010 at 4:10 pm

After searching the web in vain for hours on end, your solution did the trick!

Thank you VERY much! Agian VERY!!!

kind regards
Øyvnd Granberg

sidhu September 29, 2011 at 5:17 pm

@Rohit – it works .
“you-r-a are one in a million, you-r-a sooperstar . . .”

thanks

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.