none
Azure Storage Emulator Won't Install

    Question

  • I installed an update for the Azure SDK for Visual Studio Community 2015 just now, but the Azure Storage Emulator failed to install. I have a OneDrive link here with the log file: log file link.
    Wednesday, December 14, 2016 7:14 PM

Answers

  • Hi DragonOsman2,

    Welcome to the MSDN forum.

    I have checked your log file and found the error message as below:

    >>CAQuietExec:  Windows Azure Storage Emulator 4.5.0.0 command line tool

    >>CAQuietExec:  Error: Cannot create database.

    >>CAQuietExec:  Error 0xfffffff3: Command line returned an error.

    Please have a look at this similar issue and try the following:

    Michael Roberson - MSFT: You can use the following process to recover from most init problems involving the database. Note that any data in the emulator currently will be lost.

    Delete the SQL instance:

    sqllocaldb stop MSSQLLocalDB

    sqllocaldb delete MSSQLLocalDB

    Now delete the following database files:

    %USERPROFILE%\AzureStorageEmulatorDb*.mdf

    %USERPROFILE%\AzureStorageEmulatorDb*.ldf

    Finally, recreate the sql instance:

    sqllocaldb start MSSQLLocalDB

    Then retry the emulator init.

    If the above not works, please try to run the VS with safe mode using the command: devenv /safemode in the elevated command prompt and reinstall it again.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by DragonOsman2 Thursday, December 15, 2016 2:01 PM
    Thursday, December 15, 2016 5:36 AM
    Moderator

All replies

  • Hi DragonOsman2,

    Welcome to the MSDN forum.

    I have checked your log file and found the error message as below:

    >>CAQuietExec:  Windows Azure Storage Emulator 4.5.0.0 command line tool

    >>CAQuietExec:  Error: Cannot create database.

    >>CAQuietExec:  Error 0xfffffff3: Command line returned an error.

    Please have a look at this similar issue and try the following:

    Michael Roberson - MSFT: You can use the following process to recover from most init problems involving the database. Note that any data in the emulator currently will be lost.

    Delete the SQL instance:

    sqllocaldb stop MSSQLLocalDB

    sqllocaldb delete MSSQLLocalDB

    Now delete the following database files:

    %USERPROFILE%\AzureStorageEmulatorDb*.mdf

    %USERPROFILE%\AzureStorageEmulatorDb*.ldf

    Finally, recreate the sql instance:

    sqllocaldb start MSSQLLocalDB

    Then retry the emulator init.

    If the above not works, please try to run the VS with safe mode using the command: devenv /safemode in the elevated command prompt and reinstall it again.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by DragonOsman2 Thursday, December 15, 2016 2:01 PM
    Thursday, December 15, 2016 5:36 AM
    Moderator
  • That solved it.  I was able to download and install the latest version from the Azure website.  Thanks for the help.
    Thursday, December 15, 2016 2:02 PM
  • Hi DragonOsman2,

    I'm so glad to hear that your issue is solved and thank you for your sharing.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, December 16, 2016 1:06 AM
    Moderator