【问题标题】:VS Community 2019 error while installing Analysis Service and Reporting Services安装 Analysis Service 和 Reporting Services 时出现 VS Community 2019 错误
【发布时间】:2021-03-11 21:55:01
【问题描述】:

我正在尝试将 Analysis Services 和 Reporting Services 的扩展添加到 Visual Studio Community 2019 中,并且每次遇到以下错误。我已尝试清理 Temp 文件,然后修复社区版本,但我仍然收到此错误,并且在我得到这些工作之前,我无法在我的项目中使用 .BIM 模型。

我需要做什么才能让它工作? 谢谢! JB

*

2021 年 3 月 11 日下午 3:41:06 - Microsoft VSIX 安装程序 2021 年 3 月 11 日下午 3:41:06 - ------------------------------------------------------- 2021 年 3 月 11 日 3:下午 41:06 - vsixinstaller.exe 版本:2021 年 3 月 11 日下午 3:41:06 - 16.9.1050 2021 年 3 月 11 日 下午 3 点 41 分 06 秒 - -------------------------------------------------------- 2021 年 3 月 11 日 3:41:06 PM - 命令行参数:3/11/2021 3:41:06 PM - C:\Program 文件 (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\berglunj\Downloads\Microsoft.DataTools.AnalysisServices.vsix,/callingprocessid:18488,/installas:3232 2021 年 3 月 11 日下午 3:41:06 - -------------------------------------------------- ----- 2021 年 3 月 11 日下午 3:41:06 - Microsoft VSIX 安装程序 2021 年 3 月 11 日下午 3:41:06 - ------------------------------------------------------- 2021 年 3 月 11 日 3:下午 41:06 - System.ComponentModel.Win32Exception (0x80004005):并非所有权限 或引用的组分配给调用者 System.Diagnostics.Process.SetPrivilege(字符串 privilegeName,Int32 attrib) 在 System.Diagnostics.Process.EnterDebugMode() 在 VSIXInstaller.UserImpersonationHelper.DuplicateSuppliedToken(IntPtr 令牌,UInt32 调用ProcessId)在 VSIXInstaller.App.Initialize(布尔 isRepairSupported)在 VSIXInstaller.App.Initialize() 在 System.Threading.Tasks.Task`1.InnerInvoke() 在 System.Threading.Tasks.Task.Execute() --- 从先前抛出异常的位置结束堆栈跟踪 --- 在 Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(异常 异常对象)

【问题讨论】:

    标签: visual-studio-2019


    【解决方案1】:

    这似乎缺少权限

    (0x80004005):并非所有引用的权限或组都分配给 System.Diagnostics.Process.SetPrivilege(String privilegeName, Int32 attrib) at System.Diagnostics.Process.EnterDebugMode() at

    的调用者

    假设您以管理员身份运行它,它可能缺少调试权限。例如,在我们的基础架构中,我们删除了管理员的调试权限。

    这可以在路径中的 secpol.msc(或 GPO 编辑器)中找到 计算机配置/策略/Windows 设置/安全设置/本地策略/用户权限分配/调试程序

    我目前无法解释为什么某些 vsix 包需要此权限,因为并非所有包都需要此权限(恕我直言,需要调试权限来安装包并没有多大意义)

    【讨论】:

    • 谢谢。当我以管理员身份运行 Visual Studio 程序并完成更新时,它确实有效。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-06-26
    • 1970-01-01
    • 2021-09-13
    相关资源
    最近更新 更多