Sql server 无法安装Azure存储仿真程序4.1

Sql server 无法安装Azure存储仿真程序4.1,sql-server,azure,visual-studio-2013,installation,azure-storage-emulator,Sql Server,Azure,Visual Studio 2013,Installation,Azure Storage Emulator,希望有人能帮上忙——我花了一整天的时间试图解决这个问题。我最近安装了Visual Studio 2013 Ultimate,随后安装了Azure SDK。所有安装的Azure SDK组件,除了storage emulator(在我的例子中是4.1版)之外,这里是错误日志,其中可能包含一些线索 === Logging started: 03/08/2015 20:17:34 === Action 20:17:34: INSTALL. Action start 20:17:34: INSTALL

希望有人能帮上忙——我花了一整天的时间试图解决这个问题。我最近安装了Visual Studio 2013 Ultimate,随后安装了Azure SDK。所有安装的Azure SDK组件,除了storage emulator(在我的例子中是4.1版)之外,这里是错误日志,其中可能包含一些线索

=== Logging started: 03/08/2015  20:17:34 ===
Action 20:17:34: INSTALL. 
Action start 20:17:34: INSTALL.
Action 20:17:34: FindRelatedProducts. Searching for related applications
Action start 20:17:34: FindRelatedProducts.
Action ended 20:17:34: FindRelatedProducts. Return value 1.
Action 20:17:34: PrepareDlg. 
Action start 20:17:34: PrepareDlg.
Info 2898.For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 0 character set, of 13 pixels height.
Info 2898.For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 0 character set, of 19 pixels height.
Action 20:17:34: PrepareDlg. Dialog created
Action ended 20:17:34: PrepareDlg. Return value 1.
Action 20:17:34: AppSearch. Searching for installed applications
Action start 20:17:34: AppSearch.
AppSearch: Property: DOTNET4FULL, Signature: DOTNET4FULLInstalledSearch
AppSearch: Property: LOCALDB11INSTALLED, Signature: LocalDB11Search
AppSearch: Property: LOCALDB12INSTALLED, Signature: LocalDB12Search
AppSearch: Property: SQLEXPRESSVERSION, Signature: SQLExpressSearch
Action ended 20:17:34: AppSearch. Return value 1.
Action 20:17:34: LaunchConditions. Evaluating launch conditions
Action start 20:17:34: LaunchConditions.
Action ended 20:17:34: LaunchConditions. Return value 1.
Action 20:17:34: ValidateProductID. 
Action start 20:17:34: ValidateProductID.
Action ended 20:17:34: ValidateProductID. Return value 1.
Action 20:17:34: CostInitialize. Computing space requirements
Action start 20:17:34: CostInitialize.
Action ended 20:17:35: CostInitialize. Return value 1.
Action 20:17:35: FileCost. Computing space requirements
Action start 20:17:35: FileCost.
Action ended 20:17:35: FileCost. Return value 1.
Action 20:17:35: SetREINSTALLMODE. 
Action start 20:17:35: SetREINSTALLMODE.
Action ended 20:17:35: SetREINSTALLMODE. Return value 1.
Action 20:17:35: CostFinalize. Computing space requirements
Action start 20:17:35: CostFinalize.
Action ended 20:17:35: CostFinalize. Return value 1.
Action 20:17:35: CustomWelcomeEulaDlg. 
Action start 20:17:35: CustomWelcomeEulaDlg.
Info 2898.For WixUI_Font_Title textstyle, the system created a 'Tahoma' font, in 0 character set, of 14 pixels height.
Action 20:17:35: CustomWelcomeEulaDlg. Dialog created
Action ended 20:17:37: CustomWelcomeEulaDlg. Return value 1.
Action 20:17:37: ProgressDlg. 
Action start 20:17:37: ProgressDlg.
Action 20:17:37: ProgressDlg. Dialog created
Action ended 20:17:37: ProgressDlg. Return value 1.
Action 20:17:37: ExecuteAction. 
Action start 20:17:37: ExecuteAction.
Action 20:17:39: INSTALL. 
Action start 20:17:39: INSTALL.
Action 20:17:39: AppSearch. Searching for installed applications
Action start 20:17:39: AppSearch.
Action ended 20:17:39: AppSearch. Return value 0.
Action 20:17:39: FindRelatedProducts. Searching for related applications
Action start 20:17:39: FindRelatedProducts.
Action ended 20:17:39: FindRelatedProducts. Return value 0.
Action 20:17:39: LaunchConditions. Evaluating launch conditions
Action start 20:17:39: LaunchConditions.
Action ended 20:17:39: LaunchConditions. Return value 1.
Action 20:17:39: ValidateProductID. 
Action start 20:17:39: ValidateProductID.
Action ended 20:17:39: ValidateProductID. Return value 1.
Action 20:17:39: CostInitialize. Computing space requirements
Action start 20:17:39: CostInitialize.
Action ended 20:17:39: CostInitialize. Return value 1.
Action 20:17:39: FileCost. Computing space requirements
Action start 20:17:39: FileCost.
Action ended 20:17:39: FileCost. Return value 1.
Action 20:17:39: SetREINSTALLMODE. 
Action start 20:17:39: SetREINSTALLMODE.
Action ended 20:17:39: SetREINSTALLMODE. Return value 1.
Action 20:17:39: CostFinalize. Computing space requirements
Action start 20:17:39: CostFinalize.
Action ended 20:17:39: CostFinalize. Return value 1.
Action 20:17:39: SetCommandForRunInitialize. 
Action start 20:17:39: SetCommandForRunInitialize.
Action ended 20:17:39: SetCommandForRunInitialize. Return value 1.
Action 20:17:39: InstallValidate. Validating install
Action start 20:17:39: InstallValidate.
Action ended 20:17:39: InstallValidate. Return value 1.
Action 20:17:39: InstallInitialize. 
Action start 20:17:39: InstallInitialize.
Action ended 20:17:40: InstallInitialize. Return value 1.
Action 20:17:40: RemoveExistingProducts. Removing applications
Action start 20:17:40: RemoveExistingProducts.
Action ended 20:17:40: RemoveExistingProducts. Return value 1.
Action 20:17:40: ProcessComponents. Updating component registration
Action start 20:17:40: ProcessComponents.
Action 20:17:40: GenerateScript. Generating script operations for action:
GenerateScript: Updating component registration
Action ended 20:17:40: ProcessComponents. Return value 1.
Action 20:17:40: UnpublishFeatures. Unpublishing Product Features
Action start 20:17:40: UnpublishFeatures.
Action ended 20:17:40: UnpublishFeatures. Return value 1.
Action 20:17:40: RemoveRegistryValues. Removing system registry values
Action start 20:17:40: RemoveRegistryValues.
Action ended 20:17:40: RemoveRegistryValues. Return value 1.
Action 20:17:40: RemoveShortcuts. Removing shortcuts
Action start 20:17:40: RemoveShortcuts.
Action ended 20:17:40: RemoveShortcuts. Return value 1.
Action 20:17:40: RemoveFiles. Removing files
Action start 20:17:40: RemoveFiles.
Action ended 20:17:40: RemoveFiles. Return value 1.
Action 20:17:40: InstallFiles. Copying new files
Action start 20:17:40: InstallFiles.
InstallFiles: File: Copying new files,  Directory: ,  Size: 
Action ended 20:17:40: InstallFiles. Return value 1.
Action 20:17:40: RunInitialize. Initializing the Storage Emulator
Action start 20:17:40: RunInitialize.
1: Initializing the Storage Emulator 
Action ended 20:17:40: RunInitialize. Return value 1.
Action 20:17:40: CreateShortcuts. Creating shortcuts
Action start 20:17:40: CreateShortcuts.
CreateShortcuts: Shortcut: Creating shortcuts
Action ended 20:17:40: CreateShortcuts. Return value 1.
Action 20:17:40: WriteRegistryValues. Writing system registry values
Action start 20:17:40: WriteRegistryValues.
WriteRegistryValues: Key: Writing system registry values, Name: , Value: 
Action ended 20:17:40: WriteRegistryValues. Return value 1.
Action 20:17:40: RegisterUser. Registering user
Action start 20:17:40: RegisterUser.
Action ended 20:17:40: RegisterUser. Return value 1.
Action 20:17:40: RegisterProduct. Registering product
Action start 20:17:40: RegisterProduct.
RegisterProduct: Registering product
Action ended 20:17:40: RegisterProduct. Return value 1.
Action 20:17:40: PublishFeatures. Publishing Product Features
Action start 20:17:40: PublishFeatures.
PublishFeatures: Feature: Publishing Product Features
Action ended 20:17:40: PublishFeatures. Return value 1.
Action 20:17:40: PublishProduct. Publishing product information
Action start 20:17:40: PublishProduct.
PublishProduct: 
Action ended 20:17:40: PublishProduct. Return value 1.
Action 20:17:40: InstallFinalize. 
Action start 20:17:40: InstallFinalize.
Action 20:17:40: ProcessComponents. Updating component registration
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {2B9D6EDC-B349-5E7B-AB9A-2FAD4E908326} 3: 02:\SOFTWARE\Microsoft\Windows Azure Storage Emulator\InstallPath 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {5430E0E9-7AB7-50E9-9748-D577B5F485B8} 3: 02:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Azure Storage Emulator - v4.1\DisplayName 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {D6EF4D0E-9249-538F-BCA7-9B6FE369941D} 3: 01:\SOFTWARE\Microsoft\Windows Azure Storage Emulator\ 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {84F54093-B880-50C9-858C-C1A877AC52D6} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Release Notes.url 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {A24144CE-C842-5114-86B2-73633606DB12} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\License.rtf 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {DF9AD451-5F04-50F8-94AA-957EC90DA832} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\StartStorageEmulator.cmd 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {B5FDA61D-8F49-5986-9CE4-6CAEF3895817} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {EC492ED1-611E-5956-A3FC-AA6E766637CA} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe.config 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {349D3C99-F1E4-50CF-87CC-D13B7C28C88C} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Azure.DevelopmentStorage.Services.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {2FB2A960-F788-5BB8-9AB9-346B3ADC2B2F} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Azure.DevelopmentStorage.Storev4.0.2.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {EAEB16CF-3CEA-5FE0-A700-8ED6A77EAB73} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Azure.Storage.Emulator.Controller.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {3C3678F2-CC37-5BEC-B8BA-EA05A7D34630} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.WindowsAzure.Storage.Emulator.Controller.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {333DAEDB-9307-5643-8498-256F8C66E832} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Data.Edm.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {90F85106-6838-5E29-BE37-685473590198} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Data.OData.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {B18125A9-F1F8-52BE-8098-B798F3C1221D} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Data.Services.Client.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {08219C28-EEF9-561B-9AF9-5973C02A4C31} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\Microsoft.Data.Services.dll 
1: {5F57531E-3891-43D6-9B59-489B7A592CE2} 2: {C340E337-4F53-5A33-8B67-F1446F0B7C94} 3: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\System.Spatial.dll 
Action 20:17:40: InstallFiles. Copying new files
InstallFiles: File: Release Notes.url,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 69
InstallFiles: File: License.rtf,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 16941
InstallFiles: File: Microsoft.Data.Services.Client.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 660144
InstallFiles: File: AzureStorageEmulator.exe.config,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 3995
InstallFiles: File: Microsoft.Data.OData.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 1520304
InstallFiles: File: Microsoft.Azure.DevelopmentStorage.Services.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 1301208
InstallFiles: File: System.Spatial.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 118448
InstallFiles: File: Microsoft.Azure.Storage.Emulator.Controller.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 86744
InstallFiles: File: Microsoft.Azure.DevelopmentStorage.Storev4.0.2.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 392920
InstallFiles: File: Microsoft.Data.Services.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 911536
InstallFiles: File: AzureStorageEmulator.exe,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 175320
InstallFiles: File: Microsoft.Data.Edm.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 659120
InstallFiles: File: Microsoft.WindowsAzure.Storage.Emulator.Controller.dll,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 75992
InstallFiles: File: StartStorageEmulator.cmd,  Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\,  Size: 70
Action 20:17:40: RunInitialize. Initializing the Storage Emulator
CAQuietExec:
CAQuietExec:  Error 0xe0434352: Command line returned an error.
CAQuietExec:  Error 0xe0434352: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:17:42: InstallFinalize. Return value 3.
Action 20:17:42: Rollback. Rolling back action:
Rollback: Initializing the Storage Emulator
Rollback: Copying new files
Rollback: Updating component registration
Action ended 20:17:42: 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.5.51641
Property(S): LOCALDB11INSTALLED = C:\Program Files (x86)\Microsoft SQL Server\110\LocalDB\Binn\SqlUserInstance.dll
Property(S): LOCALDB12INSTALLED = C:\Program Files (x86)\Microsoft SQL Server\120\LocalDB\Binn\SqlUserInstance.dll
Property(S): TARGETDIR = C:\
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\garveyj\Desktop\
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 = {5F57531E-3891-43D6-9B59-489B7A592CE2}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Microsoft Azure Storage Emulator - v4.1
Property(S): ProductVersion = 4.1.6848.8
Property(S): ErrorDialog = ErrorDlg
Property(S): SecureCustomProperties = NEWERVERSIONDETECTED;OLDEMULATORPACKAGEDETECTED;OLDERVERSIONDETECTED
Property(S): WixPdbPath = o:\bttemp\551729\obj.amd64fre\services\xstore\rdpackages\storageemulatorpackage\objfre\amd64\en-us\MicrosoftAzureStorageEmulator.wixpdb
Property(S): MsiLogFileLocation = C:\Users\garveyj\Desktop\log.txt
Property(S): PackageCode = {8B374F42-A082-4F5F-B99B-6817934B52B9}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): CURRENTDIRECTORY = C:\Users\garveyj\Desktop
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 03/08/2015  20:17:45 ===
MSI (c) (44:54) [20:17:45:165]: Product: Microsoft Azure Storage Emulator - v4.1 -- Installation failed.

MSI (c) (44:54) [20:17:45:165]: Windows Installer installed the product. Product Name: Microsoft Azure Storage Emulator - v4.1. Product Version: 4.1.6848.8. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.
此外,在使用安装的msi而不是web安装程序(最终似乎崩溃了)之后,我能够查看详细日志(由于日志太大,我尝试在这里提取相关位):

我似乎安装了两个localDB实例—MSSQLSLocalDB和V11.0

此外,明显缺乏信息是否意味着什么

Action 20:17:40: RunInitialize. Initializing the Storage Emulator
CAQuietExec: <<--- Other users received more logging here...
CAQuietExec:  Error 0xe0434352: Command line returned an error.
CAQuietExec:  Error 0xe0434352: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:17:42: InstallFinalize. Return value 3.
Action 20:17:42: Rollback. Rolling back action:
Rollback: Initializing the Storage Emulator
Rollback: Copying new files
Rollback: Updating component registration
操作20:17:40:运行初始化。初始化存储仿真器

CAQuietExec:这可能是由于localDB的两个实例造成的。如果localDB实例已损坏,则安装失败。尝试按照以下文章中的描述重新创建本地DB实例:


我在安装时没有遇到问题,但在启动模拟器时遇到了一些问题,后来我发现模拟器尝试使用的端口被BitTorrent阻止,你能试试这个吗。感谢Sri,这是一台公司笔记本电脑-禁止使用所有torrent软件。
Action 20:17:40: RunInitialize. Initializing the Storage Emulator
CAQuietExec: <<--- Other users received more logging here...
CAQuietExec:  Error 0xe0434352: Command line returned an error.
CAQuietExec:  Error 0xe0434352: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:17:42: InstallFinalize. Return value 3.
Action 20:17:42: Rollback. Rolling back action:
Rollback: Initializing the Storage Emulator
Rollback: Copying new files
Rollback: Updating component registration