I have used them only
Which one? Or have you tried both?
it is getting registered ie When I open the services window , I can find my app but when I try to start that it is getting the error that I posted before
Like I said service wrappers typically include logging. Read the logs to see what they are doing.
Don't pay much attention to the message you get back from Windows. Windows Services are pretty dumb things - and won't tell you much themselves. They delegate to which ever process they manage to log what its up to.