Workaround for Deleted Folder Still Exists in Windows Azure Web Sites

Depending on how much you’ve been experimenting with your 10 Free Windows Azure Web Site accounts you may come across an issue when deleting then immediately recreating a folder. I noticed this issue when upgrading to the recently refreshed Windows Azure Storage for WordPress Plugin.

WAWS-Deleted-folder-still-exists

 

 

 

 

 

Workaround: Stop/Start your Web Site

In order to work around this, I did a quick Stop/Start on my Windows Azure Web Site. There are a two ways in which you can Stop and Start your Web Site, first, the Windows Azure Management Portal, second, the Cross Platform Command Line Tools.

Stop/Start a Web Site from the Windows Azure Portal

  1. Login to the Windows Azure Management Portal.
  2. Click on Web Sites in the left hand menu.

    image

  3. Select a Web Site from the list.
    image
  4. Click Stop from the bottom control bar.
    image
  5. Click Start from the bottom control bar.
    image

Stop/Start a Web Site from the Cross Platform CLI Tools

  1. Follow the instructions on How to install the Windows Azure Command-Line Tools for Mac or Linux (they work on Windows too!)
  2. Follow the instructions on How to download and import publish settings.
  3. Execute azure site stop 'site-name'.
  4. Execute azure site start 'site-name'.

After Stop/Starting your website you should be able to recreate the folder which was previously deleted.

Happy Clouding!