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.
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.
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
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 ]
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 ]
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.