Starting a .NET application from .NET service
-
Hi there, I like to start n number of instances of a .net application from my .net windows serivce. I was wondering if there is a limit for n. Because I tried implementing it but I saw some a .net framework error while I am able to start any number instaces of the same application when I convert this service to a Windows Application. Any idea what's going on here? Thanks,
-
Hi there, I like to start n number of instances of a .net application from my .net windows serivce. I was wondering if there is a limit for n. Because I tried implementing it but I saw some a .net framework error while I am able to start any number instaces of the same application when I convert this service to a Windows Application. Any idea what's going on here? Thanks,
-
I think you might run into some security problems trying to start a windows application from a service. Try setting the login credentials of your service.
-
Hi there, I like to start n number of instances of a .net application from my .net windows serivce. I was wondering if there is a limit for n. Because I tried implementing it but I saw some a .net framework error while I am able to start any number instaces of the same application when I convert this service to a Windows Application. Any idea what's going on here? Thanks,
I started the jit on dev machine and found a clue that this exection is win32exception and raising in the Windows Application (Form Appliction) which is being started by this service. Here is the what I saw, but I am still not sure why this error comes after 24 processes are started without such error. Any comment? Errors: 1. An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: The parameter is incorrect And 2. An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: Error creating window handle.