Cannot find one or more components. Please reinstall the application. SSMS 17.1 启动失败
来源:互联网 发布:第六季网络复活赛 编辑:程序博客网 时间:2024/05/17 02:21
前篇:
最近做开发,安装了Sql Server 2016
在安装sql2016之前已经安装了vs2017。
由于之前的版本都自带Microsoft SQL Server Management Studio (SSMS)但是这个版本并没有。所以需要手动安装。
在sql2016的安装引导中,进入了SSMS下载页面,然后下载了最新版17.1进行安装。
安装过程非常顺利,而且很快。
但是当我准备打开SSMS准备工作的时候,出现这个提示"Cannot find one or more components. Please reinstall the application."
然后就开始通过Google开始从网上找各种解决办法。
一些办法列在这里,或许对你有用。
1、来自SSMS官方的@Matteo_Taveggia
找到注册表项
HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio\14.0_Config
将“MsEnvLocation”的值修改成你计算机上“msenv.dll”文件的路径。
如:C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\msenv.dll
根据你VS实际的安装路径。
2、来自social.msdn.microsoft.com社区的@Teige Gao
因为SSMS17依赖vs2015 Isolated shell 并且会自动安装。但是由于某些原因,当电脑上存在VS2017的时候,他会跳过安装vs2015 Isolated shell
所以,应该先安装 Sql Server 然后安装SSMS 最后安装 VS
以上两个方法都没有解决我的问题。下面是我的思路及挣扎历程。
“SSMS 17.X is based on the Visual Studio 2015 Isolated shell”
这点是非常重要的线索。
但是我的SSMS就是不安装这个程序。
所以只好手动安装。
从网上找了很多地方都找不到vs2015 Isolated shell的下载方式。
最后从 Microsoft Visual Studio Shell (Isolated) Redistributable Package.中找到了安装包(需要参加强制问答,加入计划测试社区)
但是,双击安装直接闪退。没有任何错误信息。
最终我决定完整安装VS2015来解决这个问题。下载里2015的完整离线安装包7G多。
但是依然闪退。至此找到了vs2015 Isolated shell安装失败的原因。
下面是解决方案:
我的系统是win10秋季创作者更新。即Build 16193
系统中默认带有 .NetFramework 3.5
1、卸载.NetFramework 3.5
安装SSMS之前,首先要从“程序和功能-启用或关闭Windows功能”,中卸载 .Net Framework 3.5
去掉勾选,点确定,重启计算机。
2、安装SSMS。
完成
如果有需要,你可以回到程序中,吧.NetFramework 3.5重新安装回来就可以了。
- Cannot find one or more components. Please reinstall the application. SSMS 17.1 启动失败
- Sql Server 启动时cannot find one or more components, Please reinstall the application.
- 解决vs2013启动出现“cannot find one or more components .Please reinstall the application”
- 解决VS2015启动出现“cannot find one or more components .Please reinstall the application”
- 解决vs2013启动出现“cannot find one or more components .Please reinstall the application”
- VS2013出现“cannot find one or more components .Please reinstall the application”解决办法
- SSMS2016打开时出现“Cannot find one or more components.please reinstall the application”
- VS2013报错“cannot find one or more components .Please reinstall the application”
- 关于vs2013 安装后出现"Cannot find one of more components. Please reinstall the application"处理方法
- 卸载v2010后 sql server 2014 报错sql2014 Cannot find one or more components.Please reinstall the applicati
- vs2012 启动遇到Cannot find one or more components
- vs 2015使用时有Cannot find one or more components.
- Microsoft SQL Server Management Studio cannot find one or more components的问题
- One or more files from the Emulator for Windows CE installation is missing.Please reinstall Emulator for Windows CE and try agai
- SQL Server 2014 启动错误及解决:Cannot find one or more componets
- sql2012启动时报错的解决:cannot find one or more cpmponents
- ... or one of its dependencies. The system cannot find the file specified... 加载指定dll失败
- 【Android】Cannot complete the install because one or more
- Android-----XlistView上拉刷新下拉加载更多
- js动态生成的元素绑定事件
- 【Python】五、Matplotlib——《用Python做科学计算》
- SpringMVC配置文件详解
- niginx基础
- Cannot find one or more components. Please reinstall the application. SSMS 17.1 启动失败
- 【笔记】使用C语言编写win32平台Shellcode
- 字符编码问题
- 搭建nagios监控平台
- js 数组排除重复
- 基础篇之第一章:与JVM相关的基础知识
- [Leetcode] 179. Largest Number 解题报告
- postgresql maestro工具,插入数据字段注释
- java操作mysql的JDBC