【问题标题】:Service 'Sql Server VSS writer' (SQLWriter) failed to start when installing LocalDB安装 LocalDB 时服务“Sql Server VSS writer”(SQLWriter)启动失败 【发布时间】:2023-03-13 00:30:01 【问题描述】: 我在使用 .NET 4.5.2 框架的机器上,我正在尝试安装 SQLLocalDB 2019 并使用管理员启动,但在安装时提示服务启动时出错。有人可以提出原因吗? 【问题讨论】: 相关:SQL Server VSS Writer refuses to start 标签: sql-server localdb 【解决方案1】: 遇到了同样的问题,事实证明您需要安装 Visual C++ Redistributable 2015 或更高版本。 https://aka.ms/vs/16/release/VC_redist.x64.exe IMO SQL Server 安装程序应该为您处理这个问题,但它没有。 【讨论】: 我在安装 SQL Server 2019 express 版本时遇到了这个问题。安装失败提示我安装Microsoft Visual C++ 2017 Redistributable (x64)。但是,即使在安装了 2017 可再发行组件之后,问题 仍然存在。但是,此答案中链接提供的可再发行组件标题为“Microsoft Visual C++ 2015-2019 Redistributable (x64)”实际上解决了我的问题。后者的版本号是14.28.29325,而前者(2017)的版本号是14.16.27033。