I can't install the azure storage emulator through web platform installer.
=== Logging started: 4/25/2014 10:34:55 ===
Action start 10:34:55: INSTALL.
Action start 10:34:55: AppSearch.
Action ended 10:34:55: AppSearch. Return value 1.
Action start 10:34:55: FindRelatedProducts.
Action ended 10:34:55: FindRelatedProducts. Return value 1.
Action start 10:34:55: LaunchConditions.
Action ended 10:34:55: LaunchConditions. Return value 1.
Action start 10:34:55: ValidateProductID.
Action ended 10:34:55: ValidateProductID. Return value 1.
Action start 10:34:55: CostInitialize.
Action ended 10:34:55: CostInitialize. Return value 1.
Action start 10:34:55: FileCost.
Action ended 10:34:55: FileCost. Return value 1.
Action start 10:34:55: SetREINSTALLMODE.
Action ended 10:34:55: SetREINSTALLMODE. Return value 1.
Action start 10:34:55: CostFinalize.
Action ended 10:34:55: CostFinalize. Return value 1.
Action start 10:34:55: SetCommandForRunInitialize.
Action ended 10:34:55: SetCommandForRunInitialize. Return value 1.
Action start 10:34:55: InstallValidate.
Action ended 10:34:55: InstallValidate. Return value 1.
Action start 10:34:55: InstallInitialize.
Action ended 10:34:55: InstallInitialize. Return value 1.
Action start 10:34:55: RemoveExistingProducts.
Action ended 10:34:55: RemoveExistingProducts. Return value 1.
Action start 10:34:55: ProcessComponents.
Action ended 10:34:55: ProcessComponents. Return value 1.
Action start 10:34:55: UnpublishFeatures.
Action ended 10:34:55: UnpublishFeatures. Return value 1.
Action start 10:34:55: RemoveRegistryValues.
Action ended 10:34:55: RemoveRegistryValues. Return value 1.
Action start 10:34:55: RemoveShortcuts.
Action ended 10:34:55: RemoveShortcuts. Return value 1.
Action start 10:34:55: RemoveFiles.
Action ended 10:34:55: RemoveFiles. Return value 1.
Action start 10:34:55: InstallFiles.
Action ended 10:34:55: InstallFiles. Return value 1.
Action start 10:34:55: RunInitialize.
Action ended 10:34:55: RunInitialize. Return value 1.
Action start 10:34:55: CreateShortcuts.
Action ended 10:34:55: CreateShortcuts. Return value 1.
Action start 10:34:55: WriteRegistryValues.
Action ended 10:34:55: WriteRegistryValues. Return value 1.
Action start 10:34:55: RegisterUser.
Action ended 10:34:55: RegisterUser. Return value 1.
Action start 10:34:55: RegisterProduct.
Action ended 10:34:55: RegisterProduct. Return value 1.
Action start 10:34:55: PublishFeatures.
Action ended 10:34:55: PublishFeatures. Return value 1.
Action start 10:34:55: PublishProduct.
Action ended 10:34:55: PublishProduct. Return value 1.
Action start 10:34:55: InstallFinalize.
CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line tool
CAQuietExec: Error: No available SQL Instance was found.
CAQuietExec: Error 0xfffffff6: Command line returned an error.
CAQuietExec: Error 0xfffffff6: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 10:38:33: InstallFinalize. Return value 3.
Action ended 10:38:34: INSTALL. Return value 3.
Property(S): UpgradeCode = {CF5CD495-AEDE-42DA-B7CF-A70D398D4E6A}
Property(S): RunInitialize = "C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe" init -forcecreate -autodetect
Property(S): DOTNET4FULL = 4.5.51641
Property(S): LOCALDBINSTALLED = C:\Program Files (x86)\Microsoft SQL Server\110\LocalDB\Binn\SqlUserInstance.dll
Property(S): SQLEXPRESSVERSION = 10.0.2531.0
Property(S): TARGETDIR = G:\
Property(S): StorageEmulatorMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Azure\Storage Emulator\
Property(S): STORAGEEMUDIR = C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\
Property(S): WixUIRMOption = UseRM
Property(S): ALLUSERS = 1
Property(S): ARPNOMODIFY = 1
Property(S): REINSTALLMODE = amus
Property(S): WindowsAzureMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Azure\
Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(S): WINDOWSAZUREDIR = C:\Program Files (x86)\Microsoft SDKs\Windows Azure\
Property(S): MICROSOFTSDKSDIR = C:\Program Files (x86)\Microsoft SDKs\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): SourceDir = C:\Users\win8\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.3.0\1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47\
Property(S): MSIRMSHUTDOWN = 1
Property(S): WIXUI_INSTALLDIR = INSTALLDIR
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): DefaultUIFont = WixUI_Font_Normal
Property(S): WixUI_Mode = Minimal
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductCode = {6DFDA7BE-32F0-4E6F-B304-3567E656D18C}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Windows Azure Storage Emulator - v3.0
Property(S): ProductVersion = 3.0.6848.39
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = NEWERVERSIONDETECTED;OLDEMULATORPACKAGEDETECTED;OLDERVERSIONDETECTED
Property(S): WixPdbPath = o:\bttemp\149736\obj.amd64fre\services\xstore\rdpackages\storageemulatorpackage\objfre\amd64\en-us\WindowsAzureStorageEmulator.wixpdb
Property(S): MsiLogFileLocation = C:\Users\win8.hub\AppData\Local\Temp\WindowsAzureStorageEmulator.txt
Property(S): PackageCode = {C5E0C90F-EFDF-4030-8F5D-2A3AF97D8B80}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\WINDOWS\SysWOW64
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 5180
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 603
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 1
Property(S): WindowsFolder = C:\WINDOWS\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\WINDOWS\system32\
Property(S): SystemFolder = C:\WINDOWS\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\win8.hub\AppData\Local\Temp\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\win8\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\win8\Favorites\
Property(S): NetHoodFolder = C:\Users\win8\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\win8\Documents\
Property(S): PrintHoodFolder = C:\Users\win8\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\win8\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\win8\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\win8\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\win8\Pictures\
Property(S): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\Public\Desktop\
Property(S): FontsFolder = C:\WINDOWS\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 8142
Property(S): VirtualMemory = 5083
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = win8
Property(S): UserSID = S-1-5-21-1097169495-1557939910-592522955-27415
Property(S): UserLanguageID = 1033
Property(S): ComputerName = win8
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 23
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 10:38:34
Property(S): Date = 4/25/2014
Property(S): MsiNetAssemblySupport = 4.0.30319.33440
Property(S): MsiWin32AssemblySupport = 6.3.9600.16384
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = win8
Property(S): DATABASE = C:\WINDOWS\Installer\fab232b.msi
Property(S): OriginalDatabase = C:\Users\win8\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.3.0\1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47\WindowsAzureStorageEmulator.msi
Property(S): UILevel = 2
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = G:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\Users\win8\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.3.0\1356EC2B8E2DBE40C737E5555DD11DFA1BE1AB47\
Property(S): SourcedirProduct = {6DFDA7BE-32F0-4E6F-B304-3567E656D18C}
Property(S): ProductToBeRegistered = 1
MSI (s) (34:88) [10:38:34:039]: Product: Windows Azure Storage Emulator - v3.0 -- Installation failed.
MSI (s) (34:88) [10:38:34:039]: Windows Installer installed the product. Product Name: Windows Azure Storage Emulator - v3.0. Product Version: 3.0.6848.39. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
=== Logging stopped: 4/25/2014 10:38:34 ===
I saw this answer but did not understand what he meant by
I just deleted them manually. Recreated the v11.0:
sqllocaldb stop v11.0 sqllocaldb delete v11.0 sqllocaldb create v11.0
And reinstalled...
I saw these 2 files
WAStorageEmulatorDb30.mdf WAStorageEmulatorDb30_log.ldf
but it still fails to install.
Edit 2
This is the errors I see
Log Name: Application
Source: SQLLocalDB 11.0
Date: 5/5/2014 9:44:32 AM
Event ID: 267
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: chobo2
Description:
LocalDB instance is corrupted. See the Windows Application event log for error details.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="SQLLocalDB 11.0" />
<EventID Qualifiers="35269">267</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-05-05T16:44:32.000000000Z" />
<EventRecordID>74923</EventRecordID>
<Channel>Application</Channel>
<Computer>chobo2</Computer>
<Security />
</System>
<EventData>
</EventData>
</Event>
Log Name: Application
Source: SQLLocalDB 11.0
Date: 5/5/2014 9:44:32 AM
Event ID: 261
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: chobo2
Description:
Cannot access LocalDB instance folder: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\<instance name>.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="SQLLocalDB 11.0" />
<EventID Qualifiers="35269">261</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-05-05T16:44:32.000000000Z" />
<EventRecordID>74922</EventRecordID>
<Channel>Application</Channel>
<Computer>chobo2</Computer>
<Security />
</System>
<EventData>
</EventData>
</Event>
Microsoft's Azure Storage Emulator is a technology that imitates the Azure Queue, Table, and Blob services for the determination of local improvement. Using the Storage Emulator, one can check their application beside the storage services locally but is deprived of building a subscription or, sustaining any costs.
The Azurite open-source emulator provides a free local environment for testing your Azure blob, queue storage, and table storage applications. When you're satisfied with how your application is working locally, switch to using an Azure Storage account in the cloud.
1 Answer. Azure SDK has two emulators namely Compute Emulator and Storage Emulator. These emulators are used by developers to operate the cloud applications on the local machine. Compute Emulator reproduces the computing environment.
I encountered similar issues when updating to v2.5. I tried everything outlined in the various blogs and technet forums with no luck but it seems like the advice given was correct, just slightly different for my case.
c:\users\{user}\WAStorageEmulatorDb*.*
.
sqllocaldb stop v11.0
sqllocaldb delete v11.0
sqllocaldb create v11.0
CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line tool
CAQuietExec: Error: Cannot create database.
CAQuietExec: Error 0xfffffff3: Command line returned an error.
CAQuietExec: Error 0xfffffff3: CAQuietExec Failed
sqllocaldb info
I noticed I had 4 instances, V11.0, two instances which hosted personal databases and a 4th one called MSSQLLocalDB. If you open (localdb)\MSSQLLocalDB
in Visual Studio - SQL Server Object Explorer you should should see WAStorageEmulatorDb
. The problem for me was that my WAStorageEmulatorDb wasn't being stored in v11.0 as it was for other people, so deleting v11.0
didn't help.sqllocaldb stop MSSQLLocalDB
sqllocaldb delete MSSQLLocalDB
sqllocaldb create MSSQLLocalDB
c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe init
followed by c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe start
started successfully.
c:\users\{user}\WAStorageEmulatorDb34.*
files.The solution you quoted should work for you as well, we can clean up those problematic files with a command.
That post is telling you to execute those commands using powershell. Open powershell as an administrator (or type powershell from an admin cmd.exe prompt) and type the following:
sqllocaldb stop v11.0
sqllocaldb delete v11.0
del %UserProfile%\WAStorageEmulatorDb30*.*
sqllocaldb create v11.0
What worked for me:
If I then re-run the Azure SDK installation, everything's fine.
I had the same problem with installing to a brand new Windows 8.1 installation. Matt Davies's solution did not work as such, since the sqllocaldb instance had never been started, but still got me on the right trail.
Simply opening C:\Users\{myuser} and removing all files named WAStorageEmulatorDb3*
solved the problem. In my case the conflicting files were WAStorageEmulatorDb34.*
, but will probably be some higher number in future versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With