Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while starting Storage Emulator on windows azure

I'm getting the error below while starting the storage emulator. By mistake I deleted the mdf and log files in users/admin folder. It's holding reference someplace and not allowing me to create the DB again. Please help me.

Added reservation for 127.0.0.1:10000/ in user account RaviBorra-PC\Ravi Borra.
Added reservation for 127.0.0.1:10001/ in user account RaviBorra-PC\Ravi Borra.
Added reservation for 127.0.0.1:10002/ in user account RaviBorra-PC\Ravi Borra.

Found SQL Instance (localdb)\v11.0.
Creating database DevelopmentStorageDb201206 on SQL instance '(localdb)\v11.0'.
Cannot create database 'DevelopmentStorageDb201206' : Database 'DevelopmentStorageDb201206' already exists. Choose a different database name..

One or more initialization actions have failed. Resolve these errors before attempting to run the storage emulator again. Please refer to http://go.microsoft.com/fwlink/?LinkID=248088 for more details.

Thank you, Ravi Krishna B.

like image 360
Ravi Krishna Borra Avatar asked Jul 09 '12 20:07

Ravi Krishna Borra


1 Answers

Do these steps:

  1. Open cmd.exe (Command Prompt)
  2. Write this:

    SqlLocalDb stop "v11.0"
    SqlLocalDb delete "v11.0" 
    

    and press Enter

Note that "v11.0" is MyInstance.

For more details, visit this link.

like image 119
Kandarp Vyas Avatar answered Oct 16 '22 17:10

Kandarp Vyas