Unable to open IChannelListener

I'm trying to use the WCF adapter for BizTalk (I know this isn't supported by MS) and I'm getting an exception when I try to start the receive location:


The Messaging Engine failed to add a receive location "News Receiver" with URL "wcf://http://localhost:13000/eventsource" to the adapter "WCF". Reason: "The ChannelDispatcher at 'http://localhost:13000/eventsource' with contract(s) '"IndigoOneWayReceiver"' is unable to open its IChannelListener.".

That sounds like a pretty specific WCF exception but so far I'm unable to figure out what the problem is. Any ideas?

--

Bryant

[672 byte] By [BryantLikes] at [2007-12-23]
# 1

I've dug into the code a little to try and uncover what is really going on. Here is the exception with the inner exceptions and the innermost call stack:

The ChannelDispatcher at 'http://localhost:13000/eventsource' with contract(s) '"IndigoOneWayReceiver"' is unable to open its IChannelListener.

The ChannelDispatcher at 'http://localhost:13000/eventsource' with contract(s) '"IssueAndRenewSession"' is unable to open its IChannelListener.

The ChannelDispatcher at 'http://localhost:13000/eventsource' with contract(s) '"SecurityNegotiationContract"' is unable to open its IChannelListener.

Cannot access a disposed object.
Object name: 'System.Net.HttpListener'.

at System.Net.HttpListener.Stop()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(IList`1 foundTransportManagers)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.DatagramChannelDemuxer`2.OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout)
at System.ServiceModel.Channels.SingletonChannelListener`3.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)

Almost seems like BizTalk can't open a HttpChannel?

Any ideas?

BryantLikes at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2

Turns out that this is a security issue. When I add the BizTalk service account to the Administrators group then everything starts working. However, I don't want to do this if possible. The post that lead me to discover that this was a security issue was this post by Martin Parry.

Any ideas on how to resolve this?

Thanks!

BryantLikes at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3

I was able to resolve this using the HttpCfg tool. I posted the full details here if you're interested.

--

Bryant

BryantLikes at 2007-8-30 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified