hi, i have a windows service in win 7, my service will run an exe to mailing a folder at specified time,but when the exe run by the service , it don't work and throw this error
object refrence not set to an instance of an object.
but send my error report mail
when i run my exe it works.
what should be this issue? is there any solution for this
the code to run my app in the service is :
ProcessStartInfo pInfo = new ProcessStartInfo(path);
Process pHandle= Process.Start(pInfo);
if (pHandle != null)