Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - WCFService host as Wndows Sevice

 
 
Old 05-26-2007   #1 (permalink)
Ravi


 
 

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 SpecsSystem Spec
Old 06-02-2007   #2 (permalink)
Aneesh P


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46