修改设置时出现ChannelsLockedException [英] ChannelsLockedException on modify setup
问题描述
修改VS2017 Enterprise的现有安装时,遗憾的是,我在互联网上找不到与堆栈跟踪相关的任何内容:
2018-01-12T14:16:32:详细:SetupEngine.Installer.ModifyProduct报告错误。 [installationPath:'C:\Program Files(x86)\ Microsoft Visual Studio\2017\Enterprise',ChannelsLockedException:Microsoft.VisualStudio.Setup.ChannelsLockedException:抛出类型'Microsoft.VisualStudio.Setup.ChannelsLockedException'的异常。
at Microsoft.VisualStudio.Setup.InstallerService.StartRunningInstallationOperation(CancellationToken cancellationToken)
at Microsoft.VisualStudio.Setup.InstallerService.ModifyProductImpl(ModifyParameters parameters,String setupExecutablePath,String setupExecutableArguments,TelemetryContext telemetryContext,CancellationToken cancellationToken)$ b在ChannelsLockedException上的Microsoft.VisualStudio.Setup.InstallerService.ModifyProduct(ModifyParameters参数,String setupExecutablePath,String setupExecutableArguments,TelemetryContext telemetryContext,CancellationToken cancellationToken)$ b:Microsoft.VisualStudio.Setup.ChannelsLockedException:类型'Microsoft.VisualStudio.Setup.ChannelsLockedException的异常'被抛出。
at Object.installerErrorFromRpc(C:\Program Files(x86)\ Mysoftoft Visual Studio\Installer\resources\app\lib\SetupEngine\SetupEngineRpc.js:333:20)
at C:\Program Files(x86)\ Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\Installer.js:199:74
at _fulfilled(C: \Program Files(x86)\ Mysoftoft Visual Studio \Installer \resources\app\\\
ode_modules\q\q.js:834:54)
at self.promiseDispatch.done(C: \Program Files(x86)\ Mysoftoft Visual Studio \Installer\resources\app\\\
ode_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch(C: \Program Files(x86)\ Mysoftoft Visual Studio \Installer \resources\app\\\
ode_modules\q\q.js:796:13)
at C:\Program Files(x86 )\ Microsoft Visual Studio \Installer \resources\app\\\
ode_mod ules\q\q.js:604:44
at runSingle(C:\Program Files(x86)\ Microsoft Visual Studio\Installer\resources\app\\\
ode_modules\q\\ \\ q.js:137:13)刷新时
(C:\Program Files(x86)\ Microsrosoft Visual Studio \Installer\resources\app\\\
ode_modules\q\q.js :125:13)
at _combinedTickCallback(internal / process / next_tick.js:73:7)
at process._tickCallback(internal / process / next_tick.js:104:9)]
嗨Hollerino,
欢迎来到MSDN论坛。
你是如何修改VS 2017的?通常,我们可以以管理员身份重新运行VS 2017安装程序,或者转到Start-Visual Studio Installer打开VS 2017安装
页面。
在修改之前,请确保您已经关闭所有VS实例并打开任务管理器,没有VS相关任务正在运行。
你的VS 2017版本是什么?现在最新版本是
15.5.3 如果不是这个版本,请 升级它,然后尝试修改。如果它已经更新到15.5。 3,请尝试修复它并检查此问题是否仍然存在。
同时,您还可以查看Windows更新并安装所有待处理的补丁,重启计算机,暂时禁用任何防病毒,清理%temp%
文件夹,然后重新运行作为管理员的VS安装程序再次检查它。
最好的问候,
萨拉跨度>
when modifying an existing installation of VS2017 Enterprise, unfortunately, I can´t find anything on the internet related to the stacktrace:
2018-01-12T14:16:32 : Verbose : SetupEngine.Installer.ModifyProduct reported error. [installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise', ChannelsLockedException: Microsoft.VisualStudio.Setup.ChannelsLockedException: Exception of type 'Microsoft.VisualStudio.Setup.ChannelsLockedException' was thrown. at Microsoft.VisualStudio.Setup.InstallerService.StartRunningInstallationOperation(CancellationToken cancellationToken) at Microsoft.VisualStudio.Setup.InstallerService.ModifyProductImpl(ModifyParameters parameters, String setupExecutablePath, String setupExecutableArguments, TelemetryContext telemetryContext, CancellationToken cancellationToken) at Microsoft.VisualStudio.Setup.InstallerService.ModifyProduct(ModifyParameters parameters, String setupExecutablePath, String setupExecutableArguments, TelemetryContext telemetryContext, CancellationToken cancellationToken) at ChannelsLockedException: Microsoft.VisualStudio.Setup.ChannelsLockedException: Exception of type 'Microsoft.VisualStudio.Setup.ChannelsLockedException' was thrown. at Object.installerErrorFromRpc (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\SetupEngineRpc.js:333:20) at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\lib\SetupEngine\Installer.js:199:74 at _fulfilled (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:834:54) at self.promiseDispatch.done (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:863:30) at Promise.promise.promiseDispatch (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:796:13) at C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:604:44 at runSingle (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:137:13) at flush (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\node_modules\q\q.js:125:13) at _combinedTickCallback (internal/process/next_tick.js:73:7) at process._tickCallback (internal/process/next_tick.js:104:9)]
Hi Hollerino,
Welcome to the MSDN forum.
How did you modify the VS 2017? Usually, we can re-run the VS 2017 installer as administrator or go to Start-Visual Studio Installer to open the VS 2017 installation page.
Before the modify, please make sure you already close all VS instances and open the Task Manager, there is no VS related tasks are running.
What’s your VS 2017 edition? Now the latest version is 15.5.3 and if it is not this version, please upgrade it, then try to modify. If it is already updated to the 15.5.3, please try to repair it and check if this issue persists or not.
Meanwhile, you can also have a look at the Windows updates and install all pending patches, restart the computer, temporarily disable any antivirus, clean up the %temp% folder, then re-run the VS installer as administrator to check it again.
Best regards,
Sara
这篇关于修改设置时出现ChannelsLockedException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!