![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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 |
My System Specs![]() |
| | #2 (permalink) |
| | 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. |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Sevice Pack 2? | Vista General | |||
| Vista Sevice Packs | Vista General | |||
| spooler sevice is failing | Vista print fax & scan | |||
| Downloading Office Sevice Pack 3 on Vista and geting an Error Code | Vista General | |||