WCF hosted in windows service errors -


i have wcf in vb hosted in windows service. managed install program service installs. but, when try start service, following error:

the service on local computer started , stopped. services stop automatically if have no work do, example, performance logs , alerts service.

cheking event viewer gives me following:

service cannot started. system.argumentexception: servicehost supports class service types.
@ system.servicemodel.description.servicedescription.getservice(type servicetype)
@ system.servicemodel.servicehost.createdescription(idictionary`2& implementedcontracts).........

anybody have ideas what's going on? thanks!

the servicehost constructor must concrete implementation of service contract.

it sounds passing in interface rather service implementation.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -