Derik Whittaker

Syndication

News


How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error

Today while doing a bit of refactoring to some of our WCF code I started getting the following error

e.Message
"The ChannelDispatcher at 'http://localhost:9997/ServiceNameHere/ServiceHere' with contract(s) '\"IService\"' is unable to open its IChannelListener."
e.InnerException.Message
"Unable to start the HTTP listener. The URI provided, 'http://localhost:9997/ServiceNameHere/ServiceHere', is invalid for listening. Check the base address of your service and verify that it is a valid URI."

When I first got this it made no sense to me at all, this code had just worked a few minutes go.  A quick google search helped a little, but I was not able to find a post that talked to my exact question.  However, I did run across a post that lead me to my issue.

The issue here was NOT in the service setup or config setup (mostly), but rather in the port that was being used in the service address. You see I am trying to use port 9997 and turns out this is already in use by another one of my services (issue came up while refactoring how we store our service inventory information).  As soon as I switched to use another port (9998) the world was a better place.

So, if you ever find yourself getting the errors above do yourself a favor and make sure the port that is in the url is not already being used.

Till next time,


Posted 12-10-2009 12:18 PM by Derik Whittaker
Filed under:

[Advertisement]

Comments

kaelynnhon wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 12-23-2009 4:39 AM

app instead instrumental 2001 disputed 2100 troposphere developed

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 9:02 PM

Hi! dShqiys  <a href="http://dpnail.com/ ">cEfwRB</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 9:26 PM

Hi! idMOVV  <a href="http://acsfvq.com/ ">kecJFoy</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 9:35 PM

Hi! NJrQqpnF  <a href="http://tdaazr.com/ ">VwrxrVM</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 9:36 PM

Hi! XmeqFlm  <a href="http://jbgshn.com/ ">uUMnqF</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 9:37 PM

Hi! xWJixiOY  <a href="http://eulyyb.com/ ">CBwpNe</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 10:24 PM

Hi! kFGfCBPk  <a href="http://xdeiwg.com/ ">Imrprxr</a>

viagra wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 01-19-2010 10:27 PM

Hi! glpxwE  <a href="http://rprpss.com/ ">TSnOJzE</a>

Arnie wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-10-2010 2:08 PM

<a href= girlsflashingall.lifeauts.eu >girls flashing all</a>  

<a href= http://freebritn

Jane wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-13-2010 4:02 PM
Aron wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-13-2010 5:12 PM
Bill wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-13-2010 10:36 PM

<a href= exampleofdeclamationspeechstudent.knewpuffed.in >example of declamation speech student</a>  

<a hr

Diesel wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-14-2010 4:15 PM
Jane wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-17-2010 4:38 AM

<a href= muchachacojiendo.orderstakt.in >muchacha cojiendo

Heel wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-18-2010 2:21 AM

<a href= http://g

Bill wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-18-2010 1:31 PM
Hero wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-21-2010 1:41 PM

<a href= worldslongestbridges.showpuffed.in >worlds longest bridges</a>  

Aron wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-21-2010 1:46 PM

<a h

Arnie wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-22-2010 4:33 PM

<a href= freebabyshowerinvitationsprintable.verypuffed.in >free baby shower invitat

Hero wrote re: How to resolve ‘The ChannelDispatcher at ‘xyz Address’ with Contracts ‘ABC’ is unable to open error
on 02-27-2010 1:37 AM

<a href= stfrancishospital.fourstakt.in >st francis hospital

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)