none
Error installing Azure Storage Emulator 4.6 - Cannot create database

    Question

  • Hi,

    I'm trying to install Azure Storage Emulator v4.6 as part of the Azure SDK for .Net v2.9.6 installation. The installation keeps failing with the error "Cannot create database".

    Can anyone please advise on how to resolve this issue?

    Below is the full log file from the Web Platform Installer app.

    One thing suspicious thing I see is that TARGETDIR is set to F:\. This doesn't make sense to me as this is a backup drive and not parts of .net/SQL Server are installed on it.

    === Logging started: 3/6/2017  16:57:09 ===
    Action start 16:57:09: INSTALL.
    Action start 16:57:09: AppSearch.
    Action ended 16:57:09: AppSearch. Return value 1.
    Action start 16:57:09: FindRelatedProducts.
    Action ended 16:57:09: FindRelatedProducts. Return value 1.
    Action start 16:57:09: LaunchConditions.
    Action ended 16:57:09: LaunchConditions. Return value 1.
    Action start 16:57:09: ValidateProductID.
    Action ended 16:57:09: ValidateProductID. Return value 1.
    Action start 16:57:09: CostInitialize.
    Action ended 16:57:09: CostInitialize. Return value 1.
    Action start 16:57:09: FileCost.
    Action ended 16:57:09: FileCost. Return value 1.
    Action start 16:57:09: SetREINSTALLMODE.
    Action ended 16:57:09: SetREINSTALLMODE. Return value 1.
    Action start 16:57:09: CostFinalize.
    Action ended 16:57:09: CostFinalize. Return value 1.
    Action start 16:57:09: SetCommandForRunInitialize.
    Action ended 16:57:09: SetCommandForRunInitialize. Return value 1.
    Action start 16:57:09: InstallValidate.
    Action ended 16:57:09: InstallValidate. Return value 1.
    Action start 16:57:09: InstallInitialize.
    Action ended 16:57:09: InstallInitialize. Return value 1.
    Action start 16:57:09: RemoveExistingProducts.
    Action ended 16:57:09: RemoveExistingProducts. Return value 1.
    Action start 16:57:09: ProcessComponents.
    Action ended 16:57:09: ProcessComponents. Return value 1.
    Action start 16:57:09: UnpublishFeatures.
    Action ended 16:57:09: UnpublishFeatures. Return value 1.
    Action start 16:57:09: RemoveRegistryValues.
    Action ended 16:57:09: RemoveRegistryValues. Return value 1.
    Action start 16:57:09: RemoveShortcuts.
    Action ended 16:57:09: RemoveShortcuts. Return value 1.
    Action start 16:57:09: RemoveFiles.
    Action ended 16:57:09: RemoveFiles. Return value 1.
    Action start 16:57:09: InstallFiles.
    Action ended 16:57:09: InstallFiles. Return value 1.
    Action start 16:57:09: RunInitialize.
    Action ended 16:57:09: RunInitialize. Return value 1.
    Action start 16:57:09: CreateShortcuts.
    Action ended 16:57:09: CreateShortcuts. Return value 1.
    Action start 16:57:09: WriteRegistryValues.
    Action ended 16:57:09: WriteRegistryValues. Return value 1.
    Action start 16:57:09: RegisterUser.
    Action ended 16:57:09: RegisterUser. Return value 1.
    Action start 16:57:09: RegisterProduct.
    Action ended 16:57:09: RegisterProduct. Return value 1.
    Action start 16:57:09: PublishFeatures.
    Action ended 16:57:09: PublishFeatures. Return value 1.
    Action start 16:57:09: PublishProduct.
    Action ended 16:57:09: PublishProduct. Return value 1.
    Action start 16:57:09: InstallFinalize.
    CAQuietExec:  Windows Azure Storage Emulator 4.6.0.0 command line tool
    CAQuietExec:  Error: Cannot create database.
    CAQuietExec:  Error 0xfffffff3: Command line returned an error.
    CAQuietExec:  Error 0xfffffff3: CAQuietExec Failed
    CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 16:57:12: InstallFinalize. Return value 3.
    Action ended 16:57:12: INSTALL. Return value 3.
    Property(S): UpgradeCode = {CF5CD495-AEDE-42DA-B7CF-A70D398D4E6A}
    Property(S): RunInitialize = "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" init -forcecreate -autodetect
    Property(S): DOTNET4FULL = 4.6.01586
    Property(S): LOCALDB12INSTALLED = C:\Program Files (x86)\Microsoft SQL Server\120\LocalDB\Binn\SqlUserInstance.dll
    Property(S): LOCALDB13INSTALLED = C:\Program Files (x86)\Microsoft SQL Server\130\LocalDB\Binn\SqlUserInstance.dll
    Property(S): TARGETDIR = F:\
    Property(S): StorageEmulatorMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Azure\Storage Emulator\
    Property(S): STORAGEEMUDIR = C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\
    Property(S): WixUIRMOption = UseRM
    Property(S): ALLUSERS = 1
    Property(S): ARPNOMODIFY = 1
    Property(S): REINSTALLMODE = amus
    Property(S): AzureMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Azure\
    Property(S): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
    Property(S): AZUREDIR = C:\Program Files (x86)\Microsoft SDKs\Azure\
    Property(S): MICROSOFTSDKSDIR = C:\Program Files (x86)\Microsoft SDKs\
    Property(S): ProgramFilesFolder = C:\Program Files (x86)\
    Property(S): SourceDir = C:\Users\Uri\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.4.6.VS2015\87D0206176A522CAE276152FD4B361ACE3D4F258\
    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 = {CE32346F-023F-4259-BE16-D601AFECFFEE}
    Property(S): ProductLanguage = 1033
    Property(S): ProductName = Microsoft Azure Storage Emulator - v4.6
    Property(S): ProductVersion = 4.6.16364.1446
    Property(S): ErrorDialog = ErrorDlg
    Property(S): SecureCustomProperties = NEWERVERSIONDETECTED;OLDEMULATORPACKAGEDETECTED;OLDERVERSIONDETECTED
    Property(S): WixPdbPath = X:\bt\760165\repo\src\XFE\DevelopmentStorage\BuildPackages\40BuildMsi\SetupPackage\obj\amd64\en-us\MicrosoftAzureStorageEmulator.wixpdb
    Property(S): MsiLogFileLocation = C:\Users\Uri\AppData\Local\Temp\WindowsAzureStorageEmulator.txt
    Property(S): PackageCode = {073B905A-DECD-4DDC-B033-577329B2A084}
    Property(S): ProductState = -1
    Property(S): PackagecodeChanging = 1
    Property(S): REBOOT = ReallySuppress
    Property(S): CURRENTDIRECTORY = C:\Users\Uri\Desktop
    Property(S): CLIENTUILEVEL = 3
    Property(S): CLIENTPROCESSID = 10360
    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): MsiNTSuitePersonal = 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\Uri\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\Uri\AppData\Roaming\
    Property(S): FavoritesFolder = C:\Users\Uri\Favorites\
    Property(S): NetHoodFolder = C:\Users\Uri\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
    Property(S): PersonalFolder = C:\Users\Uri\Documents\
    Property(S): PrintHoodFolder = C:\Users\Uri\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
    Property(S): RecentFolder = C:\Users\Uri\AppData\Roaming\Microsoft\Windows\Recent\
    Property(S): SendToFolder = C:\Users\Uri\AppData\Roaming\Microsoft\Windows\SendTo\
    Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
    Property(S): CommonAppDataFolder = C:\ProgramData\
    Property(S): LocalAppDataFolder = C:\Users\Uri\AppData\Local\
    Property(S): MyPicturesFolder = C:\Users\Uri\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 = 16298
    Property(S): VirtualMemory = 14337
    Property(S): AdminUser = 1
    Property(S): MsiTrueAdminUser = 1
    Property(S): LogonUser = Uri
    Property(S): UserSID = ###REDACTED###
    Property(S): UserLanguageID = 1033
    Property(S): ComputerName = ###REDACTED###
    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 = 16:57:12
    Property(S): Date = 3/6/2017
    Property(S): MsiNetAssemblySupport = 4.6.1586.0
    Property(S): MsiWin32AssemblySupport = 6.3.14393.0
    Property(S): RedirectedDllSupport = 2
    Property(S): MsiRunningElevated = 1
    Property(S): Privileged = 1
    Property(S): USERNAME = Uri
    Property(S): DATABASE = C:\WINDOWS\Installer\1875bf.msi
    Property(S): OriginalDatabase = C:\Users\Uri\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.4.6.VS2015\87D0206176A522CAE276152FD4B361ACE3D4F258\MicrosoftAzureStorageEmulator.msi
    Property(S): UILevel = 2
    Property(S): ACTION = INSTALL
    Property(S): ROOTDRIVE = F:\
    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\Uri\AppData\Local\Microsoft\Web Platform Installer\installers\WindowsAzureStorageEmulator.4.6.VS2015\87D0206176A522CAE276152FD4B361ACE3D4F258\
    Property(S): SourcedirProduct = {CE32346F-023F-4259-BE16-D601AFECFFEE}
    Property(S): ProductToBeRegistered = 1
    MSI (s) (48:88) [16:57:12:259]: Product: Microsoft Azure Storage Emulator - v4.6 -- Installation failed.

    MSI (s) (48:88) [16:57:12:259]: Windows Installer installed the product. Product Name: Microsoft Azure Storage Emulator - v4.6. Product Version: 4.6.16364.1446. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

    === Logging stopped: 3/6/2017  16:57:12 ===


    urig


    Monday, March 6, 2017 3:03 PM

All replies