Setting up Windows Live Writer with Movable Type

Today I decided to get a personal blog[1] up that will shadowcopy my work blog[2] and where I will add more personal bits. I installed Movable Type[3] as a blogging engine because Community Server uses Microsoft SQL Server and my provider charges too much for just being able to run Community Server. Movable Type can use a wide range of databases so I picked the Berkeley database (just flat file). Installation went fine and all I have left to do is create (read: tweak) a pretty theme.

And then I tried to write a post using Windows Live Writer[4]…

The first error I ran into when connecting to my blog was:

“The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF”

After some googling I found a fix[5]:

Add to the WindowsLiveWriter.exe.config:

<configuration>
&nbsp;&nbsp; <system.net>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <settings>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <httpWebRequest useUnsafeHeaderParsing=”true” />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </settings>
&nbsp;&nbsp; </system.net>
</configuration>

Then I got the strangest message:

“Invalid Login”

More googling[6]:

At the bottom of your Author Profile page in Movable Type there is a password that is different from your regular password which is required while connection to the Movable Type web service. As you can see[7]… problem solved.

[1] Personal Blog
[2] Work Blog
[3] Movable Type
[4] Windows Live Writer
[5] http://forums.sixapart.com/lofiversion/index.php/t54677.html
[6] http://www.alexlomas.com/blog/2006/08/live_writer.html
[7] The Proof of the Pudding