I have a selfhosting WCF Service. It is hosted by an Windows Service. I installed it with installutil. So in the bin Folder I have two Folders Debug and Release. When I install the windowsservice in the release Folder it starts as usual and hosts the WCF Service but when I install it in the debug Folder it wont start. I get this error message:
"The Service on local computer started and then stopped ,Some services stop automatically if there are not in use by other services or programs."
Does someone know how to fix this?
Some exception occurred. Check: