解决VS2017启动失败,提示Access Denied Error的问题
来源:互联网 发布:数据库的日志不可用 编辑:程序博客网 时间:2024/06/01 08:54
之前因为要用.NET Core相关的预研,装上了vs2017社区版。
最近在做编码规范支持的时候,安装完EditorConfig Language Service插件后,发现vs打不开了,提示Access Denied Error,在ActivityLog.xml的启动日志中提示Failure calling FinishInitialize.
由于提示到权限问题,我用本地管理员权限试验了一下,右键Run As Admin是能正常启动的,但日常使用用域成员权限是不能启动的,试图使用devenv /SafeMode,乃至于 devenv /resetsettings都全部提示初始化问题。感觉是在非常靠前的时机就出问题了
用万能的google搜索了一下,找到了这篇文章
这个讨论比较长,最后我是参考这个解决的
Make sure you are logged in as the regular non-elevated user you use for running Visual Studio
Export your current VS settings with Tools | Import and Export Settings…, as the next steps will cause your settings to be lost
Download the attached workaround.txt
Launch a “Developer command prompt for VS 2017”
Run “csc Workaround.txt /target:exe”
Run Workaround.exe and add as a parameter the directory where your privateregistry.bin file resides. For example: “workaround.exe c:\users\\appdata\local\Microsoft\VisualStudio\15.0_[UniqueID]”
需要注意的是,一开始我这么操作失败了,原因是我最早按VS提示的定位跑去看ActivityLog.xml所在的
C:\Users\chenrq\AppData\Roaming\Microsoft\VisualStudio\15.0_[UniqueID] 目录了,而实际上,需要操作的是
C:\Users\chenrq\AppData\Local\Microsoft\VisualStudio\15.0_[UniqueID] 这个目录
- 解决VS2017启动失败,提示Access Denied Error的问题
- 解决安装MySQL 5.6 启动mysql提示 ERROR 1045 (28000): Access denied for user root@ localhost的异常
- MySQL的启动问题 (ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO))
- Mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'问题的解决
- mySQL 初始登陆问题的解决ERROR 1045 (28000): Access denied for user 'root'@'localhost'
- 解决tomcat 5.5启动后第一次访问总是会报一个access denied的问题
- MySQL提示Access denied for user ''@'localhost'”的解决
- MySQL提示Access denied for user ''@'localhost'”的解决
- ERROR 1045 (28000): Access denied for user...错误的解决
- virtual box启动虚拟机失败 Access denied
- Nginx遇上Access Denied提示怎么解决
- 解决:java.security.AccessControlException: Access Denied Error
- 关于access to the path is denied问题的解决
- 关于access to the path is denied问题的解决
- mysql“Access denied for user 'root'@'localhost'”问题的解决
- Access denied for user 'root'@'localhost'问题的解决
- mysql“Access denied for user 'root'@'localhost'”问题的解决
- mysql“Access denied for user 'root'@'localhost'”问题的解决
- Drawerlayout和ToolBar进行整合
- (二)证明数列{(1+1/n)^(n+1)}为递减数列,{(1+1/n)^(n)}为递增数列
- 更改mysql配置,使得导入数据库速度加快
- Spring概述
- HTML基础之JS
- 解决VS2017启动失败,提示Access Denied Error的问题
- vue2+vuex+vue-router 快速入门(三) vue 实例介绍
- a标签下拉更改css样式
- Jenkins Day1基础之安装篇
- springboot 用war包部署
- post安装
- 模拟键盘输入adb shell input
- 树的重心(模板)
- JS常用点