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 - "This service has no endpoint defined"

 
 
Old 02-10-2008   #1 (permalink)
Trapulo


 
 

"This service has no endpoint defined"

I have this error starting VS2008 debug on a WCF library project:
"The service cannot be started. This service has no endpoint defined. Please
add at least one endpoint for the service in config file and try again."


I defined well contract, but it seems there is some error.

My contract is:
Namespace BLL

<ServiceContract()> _

Public Interface ICrud

Inherits ICrud(Of BusinessEntities.Company)

End Interface

End Namespace



<ServiceContract()> _

Public Interface ICrud(Of t)

<OperationContract()> _

<TransactionFlow(TransactionFlowOption.Allowed)> _

Function Create(ByVal item As t) As t

<OperationContract()> _

<TransactionFlow(TransactionFlowOption.Allowed)> _

Sub Update(ByVal item As t)

<OperationContract()> _

<TransactionFlow(TransactionFlowOption.Allowed)> _

Sub Delete(ByVal item As t)

End Interface



Then I have a class that implements that interface:

Namespace BLL

Public Class Crud

Implements ICrud

<OperationBehavior(transactionscoperequired:=True)> _

Public Function Create(ByVal item As BusinessEntities.Company) As
BusinessEntities.Company Implements BLL.ICrud.Create

.....



And, at least, my app.config has defined the endpoint:

<endpoint address="Crud" binding="wsHttpBinding"
bindingConfiguration="Transactional"

contract="Fullnamespace.BLL.ICrud">



But I still have that error message.

What is wrong?



thanks











My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
"Extensible Authentication Protocol" service gives "The system cannot find the file specified" error Vista networking & sharing
"Dependency service or group failed to start" and unable to start Diagnostic Policy Service manually Vista General
HELP: Can't log in: "User Profile Service service failed the logon" Vista General
"De Service User Profile-service verhindert het aanmelden." Vista account administration
"Specified service does not exists as an installed service" error Vista networking & sharing


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