Saya mencoba menginstal rilis Microsoft SQL Server Management Studio terbaru. Seperti inilah log instalasi sebelum instalasi gagal:
[44C4:4610][2016-04-03T23:15:57]i000: MainViewModel.OnPackageAction: Install Started for package Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026
[44C4:4610][2016-04-03T23:15:57]i000: MainViewModel.OnPackageActionProgress: Percent completed: 0, Overall progress: 0
[4588:0838][2016-04-03T23:15:57]i301: Applying execute package: VCRedistD14x86, action: Install, path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\redist\VC_redist.x86.exe, arguments: '"C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\redist\VC_redist.x86.exe" /q /norestart /log %localappdata%\temp\SsmsSetup\VCRedistD14'
[44C4:4610][2016-04-03T23:15:57]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 1
[44C4:4610][2016-04-03T23:15:58]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 1
[44C4:4610][2016-04-03T23:15:58]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 1
[4588:0838][2016-04-03T23:15:58]e000: Error 0x80070666: Process returned error: 0x666
[4588:0838][2016-04-03T23:15:58]e000: Error 0x80070666: Failed to execute EXE package.
[44C4:4610][2016-04-03T23:15:58]e000: Error 0x80070666: Failed to configure per-machine EXE package.
[44C4:4610][2016-04-03T23:15:58]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Visual C++ 2015 Redistributable (x86) - 14.0.23026
[44C4:4610][2016-04-03T23:15:58]i319: Applied execute package: VCRedistD14x86, result: 0x80070666, restart: None
[44C4:4610][2016-04-03T23:15:58]e000: Error 0x80070666: Failed to execute EXE package.
[4588:0838][2016-04-03T23:15:58]i351: Removing cached package: VCRedistD14x86, from path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\
[44C4:4610][2016-04-03T23:15:58]i000: MainViewModel.OnPackageActionProgress: Percent completed: 100, Overall progress: 100
[4588:0838][2016-04-03T23:15:58]i330: Removed bundle dependency provider: {b71b5744-181f-40a1-9834-6f79771f5336}
[4588:0838][2016-04-03T23:15:58]i352: Removing cached bundle: {b71b5744-181f-40a1-9834-6f79771f5336}, from path: C:\ProgramData\Package Cache\{b71b5744-181f-40a1-9834-6f79771f5336}\
[44C4:4610][2016-04-03T23:15:58]e000: MainViewModel.OnBundleAction: Bundle action failed
[44C4:4610][2016-04-03T23:15:58]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart: No
[44C4:43C0][2016-04-03T23:16:21]i000: MainViewModel.OpenUrl: Opening url: C:\Users\testuser\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20160403231514.log
Saya tidak tahu apa artinya "Proses mengembalikan kesalahan 0x666".
Ini mungkin atau mungkin bukan masalah, tetapi saya perhatikan bahwa instalasi SQL Server 2016 saya tidak cocok dengan versi instalasi SMSS. Apakah perangkat lunak SMSS harus sesuai dengan versi SQL Server 2016 yang diinstal pada PC saya? Jika demikian, apa cara terbaik untuk memutakhirkan SQL Server 2016? Saya khawatir jika saya memutakhirkan maka dapat merusak Visual Studio atau sesuatu yang tergantung padanya. Sepertinya tidak ada cara untuk mengunduh versi SMS yang lebih lama juga (untuk SMSS 2016).
sumber
Jawaban dari Dave Melton bekerja untuk saya kecuali bahwa tautan ke 23506 sebenarnya ke 23026. Tautan untuk mengunduh 14.0.23506 ada di sini: https://www.microsoft.com/en-us/download/details.aspx?id = 49984
sumber