I am developing C# windows based application. I am getting
System.ComponentModel.Win32Exception:
Access is denied
in my installed application.
2011-01-05 12:41:42,916, ERROR, RINXUI.main, System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
I get this error only when I install application. When I try to debug my application from Visual studio, there is no exception.
I have installed application using IzPack installer utility and its installed on desktop (for testing purpose).
Anyone knows why this exception is occuring only in installed version?
What about
System.Diagnostics.Process.Start()from stack trace – are you trying to launch any process from your application. If yes then you need to see if the a/c under which your application is running has sufficient privileges to read/write the location where executable is stored.