image upload using atompub problem RRS feed

  • Question

  • Hi,

    I'm developing atompub services that are to be used by WLW for writing blog posts. But I have the following problem. I write a post with an image and click publish. The WLW tries to post the image without providing user credentials. The service returns 401 Unauthorized status code but WLW doesn't try to upload the image again with the credentials. It just shows an error popup saying the server returned an error 401. Am I missing something here? Any help will be appreciated.

    Best regards,


    Thursday, September 30, 2010 1:27 PM

All replies

  • Hi again,

    Here are some more details about the problem and what workaround I found for myself. My service document didn't require authentication. When authentication was added then some parts of the problem began to disappear. But another problem rose. If the user didn't save his password (didn't check the "remember my password" checkbox and typed his password every time he was prompted) then when the service required authentication then the wlw sent only the user name (even when a password was typed by the user). But if the user saved his password then the wlw started to send the password (this seems to be a bug of the wlw). After I added authentication to the service document then the wlw started to pass the user credentials on posting new media (solving my main problem). After adding authentication the wlw began to download the blog styles properly, too (before that it didn't).

    To put a brief summary for all developers that are implementing atompub blogging api for windows live writer:

    1. Protect your service document with some type of authentication.

    2. Advise the users of your system to save their credentials when prompted by wlw.

    Best regards,


    Friday, October 1, 2010 12:17 PM
  • Hi Ivan.

    I analyzed that this problem of not send credential to image upload happens in the version WLW 2011, but does not happen in the version 2009 . Can you have any idea about this problem? Do you know any type of authentication to protected my documents, without use ftp?

    Best regards,

    Danilo Delgado


    Thursday, February 10, 2011 9:02 PM