System.ComponentModel.Win32Exception (0x80004005): Access is denied windows application

0

I have some code to call the exe with below code

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();

in one of our client is getting the below error, System.ComponentModel.Win32Exception (0x80004005): Access is denied at Sysotem.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

Client confirms that he has Administrator permission, what are possible reason and how to overcome this.

winforms
asked on Stack Overflow Dec 2, 2019 by MD Rizvan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0