However digging a little deeper into what the installer is attempting to do will help resolve the issue. The error message at first may appear confusing as you most likely do have an available SQL instance. Installation success or error status: 1603.
Azure storage emulator windows#
Product Name: Windows Azure Storage Emulator - v3.0. MSI (s) (6C:2C) : Windows Installer installed the product. MSI (s) (6C:2C) : Product: Windows Azure Storage Emulator - v3.0 - Installation failed. Property(S): ProgramFilesFolder = C:\Program Files (x86)\ Property(S): MICROSOFTSDKSDIR = C:\Program Files (x86)\Microsoft SDKs\ Property(S): WINDOWSAZUREDIR = C:\Program Files (x86)\Microsoft SDKs\Windows Azure\ Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ Property(S): STORAGEEMUDIR = C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\Ĭ:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Azure\ (x86)\Microsoft SQL Server\110\LocalDB\Binn\SqlUserInstance.dllĬ:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Azure\Storage Emulator\ Property(S): LOCALDBINSTALLED = C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe" Property(S): RunInitialize = "C:\Program Files Return value 3.Īction ended 0:02:17: INSTALL. (note this may not be 100% accurate if translation happened inside sandbox)Īction ended 0:02:16: InstallFinalize.
Azure storage emulator code#
Return value 1.ĬAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line toolĬAQuietExec: Error: No available SQL Instance was found.ĬAQuietExec: Error 0xfffffff6: Command line returned an error.ĬAQuietExec: Error 0xfffffff6: CAQuietExec FailedĬustomAction RunInitialize returned actual error code 1603
Azure storage emulator install#
Inspecting the install logs gives us an indication although subtle as to what is going wrong with the install (cut down for brevity):Ĭopy Code. System database files for a database are stored in the user's local AppData folder. LocalDB can be used to work with SQL Server databases. SQL Server Express LocalDB instances are managed by using the SqlLocalDB.exe utility.
LocalDB is a special execution mode of SQL Server Express which runs under the users' security context, targeted at developers. SQL Server Express includes 10GB of storage per database, easy backup and restore functionality, and compatibility with all editions of SQL Server and Microsoft Azure SQL Database. Microsoft SQL Server express allows you to take advantage of the same powerful database engine in a version tailored for redistribution and embedding. SQL Server Express 'LocalDB' Background (Optional Reading) There will be a database per version of the SDK installed in this directory. So the version of the Azure storage emulator currently installed is 3.3 as shown above. The format of the database file name is WAStorageEmulatorDb.mdf. The database files for the storage emulator are located in the logged in user root directory:
If you want to choose another instance of SQL instead of LocalDB, you would need to change the ** property accordingly as shown in the configuration snippet above. This can be verified from the command line as shown below: When the development storage emulator starts for the first time, it creates the v11.0 database in LocalDB. Which can be found at the location shown below: Copy Code (localdb)\v11.0 C:\Users\Carl\AppData\Local\DevelopmentStorage\PageBlobRoot C:\Users\Carl\AppData\Local\DevelopmentStorage\BlockBlobRoot C:\Users\Carl\AppData\Local\DevelopmentStorage\Logs false