Demo App Question

Topics: Developer Forum
Jul 7, 2006 at 12:33 AM
I'm getting an error when I start the biztalk application:

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.".

I'm just trying to understand this WCF/BTS stuff so any help would be appreciated.

Thanks.
Coordinator
Jul 7, 2006 at 7:22 PM
Hi Bryant,


What versions are you running of WCF Runtime and the WCF BizTalk Adapter?


morty

Jul 7, 2006 at 10:59 PM
I'm using the June CTP of WCF and I've tried both the binary release (alpha 2) and compiling the source code that comes with the demo.
Jul 10, 2006 at 9:55 PM
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?
Coordinator
Jul 18, 2006 at 9:53 PM
Hi Bryant,

This is wierd. Might be a security issue of sorts.

I'll look into it, but so far my test suites are running these operations without any problems.


A long shot, but have you tried the July CTP ?
Coordinator
Jul 18, 2006 at 10:00 PM
Are you sure you aren't running anything else on this port? ... Tried changing the port?

morty
Aug 2, 2006 at 10:58 PM
I tried other ports and it still didn't work. However, I tried adding BizTalk to the Administrators group and then everything worked! This is a very cool sample BTW.

Now I just need to figure out what priviledges I need to open a port like that (I don't want to be an Admin).
Aug 2, 2006 at 10:59 PM
I meant to say, I added the BizTalk service account to the Administrators group.