Windows Azure Storage Emulator: The Process Cannot Access the File Because It is Being Used by Another Process

This question is popped up many times on web. For the benefit of future Google-rs & Bing-ers, I thought I’d share the answer to this question. In my experience, the error message in the title is generally the result of a port already being in use. Check which of the storage services (blobs, tables, or queues) is failing to start, and see if anything on your computer is consuming that port.

The most common case is blob storage not starting because BitTorrent is using port 10000.

Cannot create database ‘DevelopmentStorageDb20120206’ in Storage Emulator Azure SDK

This issue is related to Windows Azure Storage Emulator

After installation of Azure SDK, when we run the Storage Emulator or execute DSINIT.exe for the first time, some initialization is required; part of this initialization involves creating a new database.  The name of this database sounds like “DevelopmentStorageDb20120206

Now when DSINIT.exe tries to create this database, due to lack of permission to the user who is executing the exe, the exe is unable to create the database.

This can be solved in two ways :

  1. Assign permission to the user.
  2. Create a new user.

For this you need to execute some simple commands. Check out this link [http://www.britishdeveloper.co.uk/2011/11/cannot-create-database.html] & resolve your issue.