我无法通过网络平台安装程序安装azure存储模拟器。
=== 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 ===
我看到this answer,但不明白他的意思
我刚刚手动删除了它们。重新创建了v11.0:
sqllocaldb stop v11.0 sqllocaldb delete v11.0 sqllocaldb create v11.0
重新安装......
我看到了这两个文件
WAStorageEmulatorDb30.mdf WAStorageEmulatorDb30_log.ldf
但仍然无法安装。
编辑2
这是我看到的错误
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>
答案 0 :(得分:51)
我在更新到v2.5时遇到了类似的问题。我尝试了各种博客和technet论坛中概述的所有内容,但没有运气,但似乎给出的建议是正确的,对我的情况略有不同。
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
我注意到我有4个实例, V11.0 ,两个托管个人数据库的实例和第四个名为 MSSQLLocalDB 的实例。如果您在 Visual Studio - SQL Server对象资源管理器中打开(localdb)\MSSQLLocalDB
,您应该看到WAStorageEmulatorDb
。对我来说问题是我的WAStorageEmulatorDb没有像其他人那样存储在v11.0中,因此删除v11.0
没有帮助。sqllocaldb stop MSSQLLocalDB
sqllocaldb delete MSSQLLocalDB
sqllocaldb create MSSQLLocalDB
c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe init
后跟c:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\WAStorageEmulator.exe start
。
c:\users\{user}\WAStorageEmulatorDb34.*
个文件。答案 1 :(得分:12)
您引用的解决方案也适用于您,我们可以使用命令清理那些有问题的文件。
该帖子告诉您使用powershell执行这些命令。以管理员身份打开powershell(或从admin cmd.exe提示符下键入powershell)并键入以下内容:
sqllocaldb stop v11.0
sqllocaldb delete v11.0
del %UserProfile%\WAStorageEmulatorDb30*.*
sqllocaldb create v11.0
答案 2 :(得分:4)
对我有用的是什么:
如果我重新运行Azure SDK安装,一切都很好。
答案 3 :(得分:3)
我在安装到全新的Windows 8.1安装时遇到了同样的问题。 Matt Davies的解决方案不能正常工作,因为sqllocaldb实例从未启动过,但仍然让我走上了正确的道路。
只需打开C:\ Users \ {myuser}并删除名为WAStorageEmulatorDb3*
的所有文件即可解决问题。在我的情况下,冲突的文件是WAStorageEmulatorDb34.*
,但在将来的版本中可能会有更高的数字。
答案 4 :(得分:3)
我遇到了来自网络平台安装程序的SDK v2.95的这个问题。我在Windows 10上安装了SQL 2016 Express。以下是我在开发机器上修复它的方法:
在提升的cmd提示符下运行以获取所有localdb实例的列表:
sqllocaldb.exe info
然后对于上面显示的每个实例,运行以下命令将其删除:
sqllocaldb.exe delete 'instanceName'
现在终止所有sqlserver.exe进程(Get-Process sqlservr
| Stop-Process
)
删除此位置下的所有内容:
C:\Users\username\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances
我还在注册表中列出了多个孤立的实例(Thanks procmon)。删除在实例GUID下没有配置任何数据的所有数据。您应该看到一个数据目录,实例名称以及有关每个目录的其他信息。如果你没有,那就删除它。
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Microsoft SQL Server\UserInstances
最后,创建一个localdb的新实例:
sqllocaldb.exe create
最终安装了SDK!
答案 5 :(得分:1)
我遇到了同样的问题,但解决方案是删除%UserProfile%\AzureStorageEmulatorDb*
个文件,然后重新运行安装
答案 6 :(得分:0)
我注意到转储中的驱动器号混合在一起(C:\,G:\,O;)。请注意,代码1603可能来自尝试从某些位置(如共享或网络驱动器)进行安装。我建议尝试向后工作 - 也许尝试从本地驱动器上的已知位置重新安装WebPI,并确保它不会尝试将内容转储到其他位置。您是否以提升(管理员)权限的用户身份运行此操作?