Azure: development storage init problems

My unbridled enthusiasm was suddenly constrained when I during the [Azure tutorial][1] suddenly tripped over my first Azure hurdle. When trying to run my new “Hello Azure” application, I got an error message stating that:

Creating database DevelopmentStorageDb…
Failed to create database ‘DevelopmentStorageDb…’ : CREATE DATABASE permission denied in database ‘master’.

So, I googled the problem and found [this forum entry][2] where the following solution is suggested:

> You can try to connect “machinenamesqlexpress” via SQL Server Management Studio and grant permission to your logon user. It’s the default instance name.

Very well. There is only one problem. In my local SQL Server 2008 Express installation, which was installed with Visual Studio 2010, my Windows account does not have the sysadmin role. Furthermore, the sa account is not enabled for login. Thus, there is no user in the system which has the sysadmin role. Catch-22, it seems.

I was finally able to find [this blog entry][3] which explains how to recover a lost sa account password in SQL server 2005. Luckily, this approach also works for SQL Server 2008 Express. Voila!

[1]: http://msdn.microsoft.com/nb-no/windowsazure/ff798115(en-us).aspx
[2]: http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/f86a3d43-0a07-4983-8d16-3b25e33b5813
[3]: http://blogs.msdn.com/b/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx