WCF client throws EndpointNotFoundException

Posted: January 16, 2011 in WCF
Tags: , , , , ,

Say,you have a WCF client that invokes a Windows Service.If you make changes to the Windows Service, before you call from client,you must first stop Windows Service and uninstall it. To stop the service, right-click the service in the SCM and select “Stop”.To uninstall the Windows Service type installutil /u bin\service.exe at the command prompt.

Note that if you stop the Windows Service and then run a client, an EndpointNotFoundException exception occurs when a client attempts to access the service.Make sure that your service is running before you make a call.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s