Hi just to let you know I have found a conflict when using Windows Live Writer with version 3.2 of DCG installed. Everything was working fine before update and turning off DCG enables it to work again.
The error message I get from Live Writer when I upload a post is:
"The response to the metaWeblog.newPost method received from the weblog server was invalid:
Invalid response document returned from XmlRpc server"
I hope this helps
Thanks
1:47 am February 3, 2010
Ade
Admin
posts 1140
2
Post edited 1:58 am – February 3, 2010 by Ade
Thanks for the info. I'll look into it.
Edit: Do you get this error on all posts, or just posts which have DCG data in the metabox? If you're using One Category or Multi OPtion, do you get the WLW problem when posting a Page?
Can you send me your WLW log file? (In WLW, go to Help, About and click on the Show Log File link.)
Post edited 3:28 am – February 3, 2010 by gordsmith
Thanks for that but unfortunatly it still has the same error. Here is the most recent log 1st with new code 2nd with plugin disabled then 3rd with enabled again:
WindowsLive.Writer.CoreServices.XmlRpcClientInvalidResponseException: Invalid response document returned from XmlRpc server —> System.Xml.XmlException: There are multiple root elements. Line 2, position 2. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText) — End of inner exception stack trace — at WindowsLive.Writer.CoreServices.XmlRpcMethodResponse..ctor(String responseText) at WindowsLive.Writer.CoreServices.XmlRpcClient.CallMethod(String methodName, XmlRpcValue[] parameters)
<br /> <b>Warning</b>: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'dfcg_save_metabox_data' was given in <b>/home/indiebad/public_html/wp-includes/plugin.php</b> on line <b>339</b><br /> <br /> <b>Warning</b>: call_user_func_array() [<a href='function.call-user-func-array'>function.call-user-func-array</a>]: First argument is expected to be a valid callback, 'dfcg_save_metabox_data' was given in <b>/home/indiebad/public_html/wp-includes/plugin.php</b> on line <b>339</b><br /> <br /> <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>395</b><br /> <br /> <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>396</b><br /> <br /> <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>397</b><br /> <br /> <b>Warning</b>: Cannot modify header information – headers already sent by (output started at /home/indiebad/public_html/wp-includes/plugin.php:339) in <b>/home/indiebad/public_html/wp-includes/class-IXR.php</b> on line <b>398</b><br /> <?xml version=""1.0″"?> <methodResponse> <params> <param> <value> <boolean>1</boolean> </value> </param> </params> </methodResponse> ","" WindowsLiveWriter,6448,Fail,00029,03-Feb-2010 01:16:40.812,"WindowsLive.Writer.Extensibility.BlogClient.BlogClient
InvalidServerResponseException: Invalid Server Response – The response to the metaWeblog.editPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc server at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters) at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.MetaweblogEditPost
(String blogId, BlogPost post, Boolean publish) at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish) at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish, String& etag, XmlDocument& remotePost) at WindowsLive.Writer.BlogClient.Blog.EditPost(BlogPost post, INewCategoryContext newCategoryContext, Boolean publish) at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork() at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()"," at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at WindowsLive.Writer.CoreServices.Diagnostics.LogFileTraceListener.
Fail(String message) at System.Diagnostics.TraceInternal.Fail(String message) at System.Diagnostics.Trace.Fail(String message) at WindowsLive.Writer.PostEditor.BlogPostEditingManager.UpdateWeblog(Boolean publish) at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PostToWeblog(Boolean publish) at WindowsLive.Writer.PostEditor.BlogPostEditingManager.PublishAsDraft() at WindowsLive.Writer.PostEditor.PostEditorMainControl.
commandPostAsDraft_Execute
(Object sender, EventArgs e) at WindowsLive.Writer.ApplicationFramework.Command.RaiseEvent(Object eventKey, EventArgs e) at WindowsLive.Writer.ApplicationFramework.Command.OnExecute(EventArgs e) at WindowsLive.Writer.ApplicationFramework.CommandBarButtonLightweightControl
.DoShowContextMenu() at WindowsLive.Writer.ApplicationFramework.CommandBarButtonLightweightControl
.OnMouseDown(MouseEventArgs e) at WindowsLive.Writer.Controls.LightweightControl.RaiseMouseDown(MouseEventArgs e) at WindowsLive.Writer.Controls.LightweightControlContainerControl.OnMouseDown
(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.UserControl.WndProc(Message& m) at WindowsLive.Writer.Controls.LightweightControlContainerControl.WndProc
(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.
UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm) at WindowsLive.Writer.ApplicationFramework.SatelliteApplicationForm.Launcher.
ThreadMain(Object[] parameters) at WindowsLive.Writer.CoreServices.Threading.ThreadStartWithParams.Run() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()" WindowsLiveWriter,6448,None,00030,03-Feb-2010 01:16:40.828,"DisplayableException occurred: WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalidServerResponse
Exception: Invalid Server Response – The response to the metaWeblog.editPost method received from the blog server was invalid:
Invalid response document returned from XmlRpc server at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.CallMethod(String methodName, XmlRpcValue[] parameters) at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.MetaweblogEditPost
(String blogId, BlogPost post, Boolean publish) at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish) at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.EditPost(String blogId, BlogPost post, INewCategoryContext newCategoryContext, Boolean publish, String& etag, XmlDocument& remotePost) at WindowsLive.Writer.BlogClient.Blog.EditPost(BlogPost post, INewCategoryContext newCategoryContext, Boolean publish) at WindowsLive.Writer.PostEditor.UpdateWeblogAsyncOperation.DoWork() at WindowsLive.Writer.CoreServices.AsyncOperation.InternalStart()",""
Developing plugins for the community represents a considerable investment of my time and energy. If you have found these plugins useful, please consider making a donation to help support future development. Your support will be much appreciated. Thank you!