Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

WCFService host as Wndows Sevice

 
 
Thread Tools Display Modes
Old 05-26-2007   #1 (permalink)
Ravi
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


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








Vistax64.com 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 2005-2008

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 47 48 49 50