B
badar.waqas
I have written a window service in C#. On windows XP it runs fine. I
checked it on my computer and some other computers in office. I am
able to install it on production system. But when i try to run this
service i receive following error:
"ERROR 1053: The service did not respond to the start or control
request in timely fashion"
I google on this error. Most of people are saying that Start method of
service should return as soon as possible. In my start method, i am
opening a file, making a socket and creating and starting a thread.
After this when i try to uninstall the service i got following error:
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly
'file:///C:\game firewall\New Folder (4)\Firewall.exe' or one of its
dependencies. The module was expected to contain an assembly
manifest..
ANY BODY COULD TELL ME TO RESOLVE THAT PROBLEM?
checked it on my computer and some other computers in office. I am
able to install it on production system. But when i try to run this
service i receive following error:
"ERROR 1053: The service did not respond to the start or control
request in timely fashion"
I google on this error. Most of people are saying that Start method of
service should return as soon as possible. In my start method, i am
opening a file, making a socket and creating and starting a thread.
After this when i try to uninstall the service i got following error:
Exception occurred while initializing the installation:
System.BadImageFormatException: Could not load file or assembly
'file:///C:\game firewall\New Folder (4)\Firewall.exe' or one of its
dependencies. The module was expected to contain an assembly
manifest..
ANY BODY COULD TELL ME TO RESOLVE THAT PROBLEM?