I received an email tonight asking about a Windows Live Writer issue and BlogCFC. My response was sure it works, just pick MetawebLog API and rock on. Strangely I received another email saying it was giving an error. Mine was working just fine but I was running an older version. Downloaded the latest version and was able to open/edit my existing blog without any issues.
I then tried adding a new blog (same blog actually) and when I went to open the posts, it gave me an error - the Content is not allowed in prolog. I knew the old settings for Windows Live Writer worked so maybe I could export the settings it was something that changed with new accounts. Turns out, like all good windows programs, the account settings are buried in the registry and stored using GUIDs.
Comparing the working settings with the new, non-working settings reveled a few minor changes. One of these changes was under manifestOptions called characterSet. That setting didn't exist under the working account so I deleted it from the non-working one. Fired up WLW and it worked.
The Fix
Open regedit
Click on Edit - Find
enter Windows Live Writer
expand Weblogs
should be IDs - expand those out
find your blog and goto manifestOptions
delete the characterSet key
Restart Windows Live Writer.
Very weird!





7/15/07 4:29 PM
I have just downloaded windows live writer, and when trying to publish an article i get
The response to the metaWeblog.editPost method received from the weblog server was invalid.
Those registry keys do not exist for me.
7/15/07 4:49 PM
I guess that you are getting past the initial setup. Either you will have an error on the site (check logs) or you might try peaking at the xml both ways to see where the issue is.
Look in xmlrpc.cfm and go the bottom.
add
<cfmail to="youraddress" from="youraddress" subject="XML">#requestData# #resultData#</cfmail>
between the cfset resultData and the cfcontent lines.
That will get you both the xml that your blog is receiving and what it is sending back.