could not connect profiler to windows service

could not connect profiler to windows service

Hi,

I was trying to perform coverage for my services but when  NCover tries to start the service, it takes to much time and then the profiler shows this message:

           Cannot start service MyService on computer '.'.

The command that i'm ussing is:


           NCover.Console.exe //svc "MyService" //x "Server.xml" //l "Server.log"

 

Any ideas about what can be wrong?

Thanks in advance