简体   繁体   English

为 Visual Studio 2017 安装 Oracle Development Tools 18.3.0.0.0 时出错

[英]Error while installing Oracle Development Tools 18.3.0.0.0 for Visual Studio 2017

While Installing the Oracle Development Tools for VS 2017, I came upon this error message and I have not been able solve it so far.在为 VS 2017 安装 Oracle 开发工具时,我遇到了此错误消息,到目前为止我还没有解决。

Error Message pointing me to a log file将我指向日志文件的错误消息

The error Message points me to a log file in which the following stacktrace is found:错误消息将我指向一个日志文件,在其中找到以下堆栈跟踪:

1/9/2020 3:39:09 PM - System.AggregateException: One or more errors occurred. ---> System.OperationCanceledException: Pre-check verification failed with warning(s) : AnotherInstallationRunning. ---> Microsoft.VisualStudio.Setup.CanceledByPrecheckException: Pre-check verification failed with warning(s) : AnotherInstallationRunning. --- End of inner exception stack trace --- at Microsoft.VisualStudio.Setup.PrecheckManager.RunPrechecks(PrecheckParameters precheckParameters, VariableCollection properties) at Microsoft.VisualStudio.Setup.Engine.RunPrecheck(String destination, Product product, ExecuteAction action, IWindowsRestartManager rmService, ITelemetryOperation installOperation, InstallOperation install) at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token) at Microsoft.VisualStudio.ExtensionManager.SetupEngineService.<Install>b__14_0() at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.VisualStudio.ExtensionManager.SetupEngineService.Install() at Microsoft.VisualStudio.ExtensionManager.ExtensionBatchEngine.Execute(List1 installableExtensions, Version targetVsVersion) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BatchEngineInstall(List1 installableExtensions, InstallFlags installFlags, Version targetVsVersion) at VSIXInstaller.BatchSetupEngineInstaller.Install(SupportedVSSKU sku, List1 extensionsToInstall, InstallFlags installFlags) at VSIXInstaller.BatchSetupEngineInstaller.BatchInstall(IReadOnlyList1 targetSkus, IEnumerable1 extensionsToInstall) at VSIXInstaller.SilentEngine.Execute(ExtensionData data) at VSIXInstaller.App.OnStartup(StartupEventArgs e) ---> (Inner Exception #0) System.OperationCanceledException: Pre-check verification failed with warning(s) : AnotherInstallationRunning. ---> Microsoft.VisualStudio.Setup.CanceledByPrecheckException: Pre-check verification failed with warning(s) : AnotherInstallationRunning. --- End of inner exception stack trace --- at Microsoft.VisualStudio.Setup.PrecheckManager.RunPrechecks(PrecheckParameters precheckParameters, VariableCollection properties) at Microsoft.VisualStudio.Setup.Engine.RunPrecheck(String destination, Product product, ExecuteAction action, IWindowsRestartManager rmService, ITelemetryOperation installOperation, InstallOperation install) at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token) at Microsoft.VisualStudio.ExtensionManager.SetupEngineService.<Install>b__14_0() at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)<---

The gist of it in my understanding is that there is another installation running while it tries to install the Visual Studio extension.根据我的理解,它的要点是在尝试安装 Visual Studio 扩展时还有另一个安装正在运行。 I didn't of course install something myself during the process, but I also checked the task manager if there is ein msiexec process running.我当然没有在这个过程中自己安装一些东西,但我也检查了任务管理器是否有 ein msiexec 进程正在运行。 Sometimes there was one running but I got the same error message while there was no msiexec process running.有时有一个正在运行,但我收到了相同的错误消息,而没有运行 msiexec 进程。

The only way I can imagine two installers running is that the Oracle Development Tools installer starts the Visual Studio extension installer.我可以想象运行两个安装程序的唯一方法是 Oracle 开发工具安装程序启动 Visual Studio 扩展安装程序。 Then there are two installers running.然后有两个安装程序在运行。 However I do not quite believe in that conclusion as this should have been occurred somewhere else before but I haven't found my error message anywhere.然而,我不太相信这个结论,因为这应该在其他地方发生过,但我没有在任何地方找到我的错误消息。

The things I have tried:我尝试过的事情:

  • Multiple Reinstall with restarts and running as admin.多次重新安装并重新启动并以管理员身份运行。
  • I have tried to manuelly install the extension after the error occurs, which ends successfully, however when I try to use the custom tools in visual studio I get an error message.我试图在错误发生后手动安装扩展,这成功结束,但是当我尝试在 Visual Studio 中使用自定义工具时,我收到一条错误消息。

Visual Studio 2017 Verison: 15.9.18 Visual Studio 2017 版本:15.9.18

Oracle Development Tools Version: 18.3.0.0.0 Oracle 开发工具版本:18.3.0.0.0

In my case the execution of the following file solved this issue:在我的情况下,以下文件的执行解决了这个问题:

Oracle.VsDevTools.15.0.vsix Oracle.VsDevTools.15.0.vsix

Here you can find this file: C:\\Program Files (x86)\\Oracle Developer Tools for VS2017\\odt您可以在此处找到此文件:C:\\Program Files (x86)\\Oracle Developer Tools for VS2017\\odt

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM