Calling same window service simultaneously at run time

Posted by ashsep18-21378 under Visual Studio on 4/9/2013 | Points: 10 | Views : 1994 | Status : [Member] | Replies : 1
Hi All,

The tool that I am working creates an MPP using window service. The window service to create an MPP will be called through the main application code and an MPP will be generated successfully. But if two or more people try to generate the MPP at the same time, the application throws error that Service is used by another.

I have read in few places that it is a restriction of windows and multiple window services cannot run simultaneously. We have also tried using multithreading approach, but is of no use.

Kindly any one let me know is there an alternate approach for this problem.How to run multiple window services simultaneously.



Posted by: ashsep18-21378 on: 4/18/2013 [Member] Starter | Points: 25


Thanks for the reply.
I did refer to the link. But I do not want to use either a batch file or a DOS command to make the service run. In our application, we call the window service from the application code through a VB.Net code.
When users are interacting with the application, only the first user will be able to create the MPP successfully. If any other user tries to generate at the same time, error would be thrown and this is because multiple window services cannot be run.


ashsep18-21378, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response