本文介绍了修改设置时出现ChannelsLockedException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

修改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)]





解决方案

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)]



解决方案


这篇关于修改设置时出现ChannelsLockedException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 19:56
查看更多