![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | WCFService host as Wndows Sevice Hi, I have a service contract hosted as a Windows Service. When I install(using installutil) and run the Windows Service I get the following error "Service cannot be started. System.InvalidOperationException: Service 'WCFasWindowsSrv.Service1' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element." I have end points set in the config file but not sure why its not start the windows service |
| | #2 (permalink) |
| Guest | Re: WCFService host as Wndows Sevice On May 26, 2:37 pm, Ravi <R...@discussions.microsoft.com> wrote: > Hi, > I have a service contract hosted as a Windows Service. When I > install(using installutil) and run the Windows Service I get the following > error > "Service cannot be started. System.InvalidOperationException: Service > 'WCFasWindowsSrv.Service1' has zero application (non-infrastructure) > endpoints. This might be because no configuration file was found for your > application, or because no service element matching the service name could be > found in the configuration file, or because no endpoints were defined in the > service element." > > I have end points set in the config file but not sure why its not start the > windows service Is the service name correct. I think there is a mismatch in the actual service name and service name element in the config file. |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Sevice Packs | Dermot | Vista General | 13 | 06-01-2008 01:40 PM |
| Wndows mail | grego franz bennauer | Vista mail | 0 | 04-19-2008 10:56 AM |
| spooler sevice is failing | Broyle | Vista print fax & scan | 3 | 11-06-2007 12:04 PM |
| Downloading Office Sevice Pack 3 on Vista and geting an Error Code | MISahnov | Vista General | 1 | 06-23-2007 05:14 AM |