Daily Archives: June 4, 2010

Picture cannot be published by Live Writer

I usually use Windows Live Writer for publishing articles to my WordPress websites, but after I recently moved all my websites to a new server (running Windows Server 2008 R2 and IIS 7.5), I hadn’t gotten around to fixing the issues with it.  One of the issues I ran into was that Live Writer couldn’t publish pictures.

Picture Upload Not Supported By Blog

I figured it had to be something simple.  It took reading three articles to find the solution.  The first two talked about changing the value in the "Store uploads in this folder” setting on the Miscellaneous Settings page under Uploading Files.  This turned out to be a red herring since I’m hosting my sites on Windows Server, not Dreamhost.

The third article, written by Alok Agrawal, had the complete solution.  I hadn’t given the correct permissions to the user account to write to the upload directory.  Once I did that, I was able to publish my articles with pictures.

Resources

Web application times out when debugging

I’ve been working on debugging the existing web applications my new company has developed.  I had everything set up, with the appropriate web applications created and breakpoints set, but after about 90 seconds Visual Studio would return to its non-debugging state.

It turns out that as of IIS6 (I’m using IIS 7 on Windows 7), IIS now pings worker processes to make sure it is still responsive, and if not the worker process is terminated.  There is a setting, however, to control this on the app pool.

IIS 7 App Pool Advanced Settings - Ping

  1. Select the app pool for your application.  This is one of the reasons why specifying a separate app pool for each web application is a good idea.
  2. Bring up Advanced Settings.
  3. Scroll down to the Process Model section.
  4. Change the value of the Ping Enabled setting to False.  Alternately you could change the Ping Maximum Response Time (seconds) setting to a higher value, but you’ll be limited in the amount of time you have to debug, so I don’t recommend that.

JohanS has a couple of really good articles on this, which go into more detail.

Resources