LiveWriter/MetaWeblog Issue

Topics: Business Logic Layer
Jul 16, 2009 at 1:56 PM

I having an issue with LiveWriter and MS Word seeing my metaweblog.axd file, however I can browse to the file just fine.

I am working with a unique project, in which I have removed parts of BlogEngine in order to intergrate it into a much larger application - specifically I removed the BlogEngine Themeing piece, and am just using ASP.NET themes.   However, besides this the project seems to work great.

A few more specifics:

I am using a SQLServer, but my login database is seperate from the database I store the blog tables in.
Both the rsd.axd file and metaweblog.axd files can be browsed too, and return the same values I get when I browse to another standard BlogEngine blog.

I have attempeted to look at the log on LiveWriter, but am not sure.

My one thought is this:   My website requires a login for anyone to get to the ~/default.aspx page.    I am using aspnet_membership to control that login as well as who my BlogAdministrators (the Role) are.    The LiveWriter Log shows that it seems to be redirecting the request to my metaweblog.axd to the ~/login/default.aspx page.    Can LiveWriter not login to a password protected site?   Is there a way around this?


WindowsLiveWriter,1.5116,None,00026,16-Jul-2009 08:57:25.505,"XML-RPC request:
<?xml version=""1.0"" encoding=""utf-8""?>
WindowsLiveWriter,1.5116,None,00027,16-Jul-2009 08:57:25.505,"== BEGIN WebException =====================",""
WindowsLiveWriter,1.5116,None,00028,16-Jul-2009 08:57:25.505,"Status: UnknownError",""
WindowsLiveWriter,1.5116,None,00029,16-Jul-2009 08:57:25.505,"System.Net.WebException: Found: Found
   at WindowsLive.Writer.CoreServices.HttpRequestHelper.SendRequest(String requestUri, HttpRequestFilter filter)
   at WindowsLive.Writer.CoreServices.XmlRpcClient.CallMethod(String methodName, XmlRpcValue[] parameters)
   at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters)",""
WindowsLiveWriter,1.5116,None,00030,16-Jul-2009 08:57:25.505,"HTTP/1.1 302 Found
Connection: Close
Content-Length: 186
Cache-Control: private
Content-Type: text/html; charset=utf-8
Date: Thu, 16 Jul 2009 12:57:25 GMT
Location: http://localhost:64797/login/default.aspx?ReturnUrl=%2fmetaweblog.axd
Server: ASP.NET Development Server/

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href=""http://localhost:64797/login/default.aspx?ReturnUrl=%2fmetaweblog.axd"">here</a>.</h2>

WindowsLiveWriter,1.5116,None,00031,16-Jul-2009 08:57:25.505,"== END WebException =======================",""
WindowsLiveWriter,1.5116,Fail,00032,16-Jul-2009 08:57:25.507,"WindowsLive.Writer.Extensibility.BlogClient.BlogClientConnectionErrorException: Network Connection Error - Error attempting to connect to blog at:


Found: Found


-----END LOG-----

Thanks for the help, Andy

Jul 16, 2009 at 2:16 PM

As a followup, one work around I think would be to make my MetaWebLog.axd publically accessible.   Any thoughts on doing that?


Oct 26, 2009 at 12:07 PM

This happens whern Live Writer connects to a blog site that usese Forms Based Authentication (FBA). Is you change it to Windows Integrated Authentication, then LW asks for credentials and connects; but with FBA it doesn't ask for credentials, and the request is redirected to the default login page.

I tried it with three SharePoint blog sites.

I'd be glad to find thesolution.