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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -