System.ComponentModel.Win32Exception(0x80004005):Windows应用程序访问被拒绝

时间:2019-12-02 13:39:56

标签: winforms

我有一些代码可以使用以下代码调用exe

Process vasontCall = new Process();
vasontCall.StartInfo.FileName = AppDomain.CurrentDomain.BaseDirectory + "Name.exe";
vasontCall.StartInfo.UseShellExecute = true;
vasontCall.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
vasontCall.StartInfo.CreateNoWindow = true;
vasontCall.Start();
在我们的一位客户中,

出现以下错误, System.ComponentModel.Win32Exception(0x80004005):访问被拒绝    在Sysotem.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

客户确认他具有管理员权限,可能的原因以及解决方法。

0 个答案:

没有答案