我们无法自动填充您的Visual Studio Team Services帐户。
遇到以下错误:
该错误的原因可能是什么?
最佳答案
我尝试了上面的方法,但是在尝试安装存储模拟器4.6时仍然出现错误:
> === Logging started: 11/1/2017 13:25:03 ===
Action start 13:25:03: INSTALL.
Action start 13:25:03: AppSearch.
Action ended 13:25:03: AppSearch. Return value 1.
Action start 13:25:03: FindRelatedProducts.
Action ended 13:25:03: FindRelatedProducts. Return value 1.
Action start 13:25:03: LaunchConditions.
Action ended 13:25:03: LaunchConditions. Return value 1.
Action start 13:25:03: ValidateProductID.
Action ended 13:25:03: ValidateProductID. Return value 1.
Action start 13:25:03: CostInitialize.
Action ended 13:25:03: CostInitialize. Return value 1.
Action start 13:25:03: FileCost.
Action ended 13:25:03: FileCost. Return value 1.
Action start 13:25:03: SetREINSTALLMODE.
Action ended 13:25:03: SetREINSTALLMODE. Return value 1.
Action start 13:25:03: CostFinalize.
Action ended 13:25:03: CostFinalize. Return value 1.
Action start 13:25:03: SetCommandForRunInitialize.
Action ended 13:25:03: SetCommandForRunInitialize. Return value 1.
Action start 13:25:03: InstallValidate.
Action ended 13:25:03: InstallValidate. Return value 1.
Action start 13:25:03: InstallInitialize.
Action ended 13:25:04: InstallInitialize. Return value 1.
Action start 13:25:04: RemoveExistingProducts.
Action ended 13:25:04: RemoveExistingProducts. Return value 1.
Action start 13:25:04: ProcessComponents.
Action ended 13:25:04: ProcessComponents. Return value 1.
Action start 13:25:04: UnpublishFeatures.
Action ended 13:25:04: UnpublishFeatures. Return value 1.
Action start 13:25:04: RemoveRegistryValues.
Action ended 13:25:04: RemoveRegistryValues. Return value 1.
Action start 13:25:04: RemoveShortcuts.
Action ended 13:25:04: RemoveShortcuts. Return value 1.
Action start 13:25:04: RemoveFiles.
Action ended 13:25:04: RemoveFiles. Return value 1.
Action start 13:25:04: InstallFiles.
Action ended 13:25:04: InstallFiles. Return value 1.
Action start 13:25:04: RunInitialize.
Action ended 13:25:04: RunInitialize. Return value 1.
Action start 13:25:04: CreateShortcuts.
Action ended 13:25:04: CreateShortcuts. Return value 1.
Action start 13:25:04: WriteRegistryValues.
Action ended 13:25:04: WriteRegistryValues. Return value 1.
Action start 13:25:04: RegisterUser.
Action ended 13:25:04: RegisterUser. Return value 1.
Action start 13:25:04: RegisterProduct.
Action ended 13:25:04: RegisterProduct. Return value 1.
Action start 13:25:04: PublishFeatures.
Action ended 13:25:04: PublishFeatures. Return value 1.
Action start 13:25:04: PublishProduct.
Action ended 13:25:04: PublishProduct. Return value 1.
Action start 13:25:04: InstallFinalize.
CAQuietExec: Windows Azure Storage Emulator 4.6.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 13:25:04: InstallFinalize. Return value 3.
Action ended 13:25:04: 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.01055
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): LOCALDB13INSTALLED = C:\Program Files (x86)\Microsoft SQL Server\130\LocalDB\Binn\SqlUserInstance.dll
Property(S): TARGETDIR = D:\
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\Jalal\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\Jalal\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\Jalal\Downloads
Property(S): CLIENTUILEVEL = 3
Property(S): CLIENTPROCESSID = 3876
Property(S): VersionDatabase = 200
Property(S): MsiSystemRebootPending = 1
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 601
Property(S): VersionNT64 = 601
Property(S): WindowsBuild = 7601
Property(S): ServicePackLevel = 1
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\Jalal\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\Jalal\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\Jalal\Favorites\
Property(S): NetHoodFolder = C:\Users\Jalal\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\Jalal\Documents\
Property(S): PrintHoodFolder = C:\Users\Jalal\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\Jalal\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\Jalal\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\Jalal\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\Jalal\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 = 16208
Property(S): VirtualMemory = 25999
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = jalal
Property(S): UserSID = S-1-5-21-449103266-2938114754-3326020072-1114
Property(S): UserLanguageID = 1033
Property(S): ComputerName = JALAL-PC
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 22
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 = 13:25:04
Property(S): Date = 1/11/2017
Property(S): MsiNetAssemblySupport = 4.6.1087.0
Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = Jalal
Property(S): DATABASE = C:\Windows\Installer\14ab42.msi
Property(S): OriginalDatabase = C:\Users\Jalal\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 = D:\
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\Jalal\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) (EC:A0) [13:25:04:820]: Product: Microsoft Azure Storage Emulator - v4.6 -- Installation failed.
MSI (s) (EC:A0) [13:25:04:820]: 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: 11/1/2017 13:25:04 ===
解决方案:
最后,它起作用:)
我先解决了
stop
,delete
和restart sqllocaldb
。但是我阅读的所有文章都提到了如何使用sqllocaldb
做到这一点。就我而言,我发现我有2个实例sqllocaldb
和MSSQLLocaldb
。因此,在我使用MSSQLLocaldb
完成步骤之后,它就可以工作。sqllocaldb stop MSSQLLocaldb
sqllocaldb delete MSSQLLocaldb
WAStorageEmulatorDb34.mdf
删除WAStorageEmulatorDb34_log.ldf
和C:\Users\[UserName]
sqllocaldb start MSSQLLocaldb
然后尝试再次安装存储模拟器,它应该可以工作。
关于azure - 'Microsoft.Azure.Storage.Emulator.Controller,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/41361602/