Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 19, 2010 2:40 PM
I have created a small app which calls another exe outside of wwwroot. it gives me this exception: Unhandled Exception: System.ComponentModel.Win32Exception: Access is denied at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at ProcessStart.Program.Main(String[] args) I have tried a bunch of things like user impersonation, raising account permissions (mine, iusr, local service..) but to no avail. Please help because I am stuck! The real reason I am doing this because I cannot create a socket in an IIS7 folder so if you know that answer then that would be wonderful.
All replies (1)
Friday, August 20, 2010 9:21 AM âś…Answered
Process Monitor should tell you what's up. It seems that the path you passed to Process.Start is invalid and the executable cannot be found.