developers.de
daenet's .NET Community

udpDiscoveryEndpoint error

Damir Dobric Posts

 

Damir@Phone    



My upcoming sessions:

AppFabric Applications at
NRW Conf 2011
09.Sept.2011 Wuppertal

HTML5 widgets in WP7+
Monodroid
Mobility Day
21.Sept.2011 - Zagreb

AppFabric and WCF sessions at
Advanced Developer Conference
26.-27. Oktober 2011 in Frankenthal

AppFabric Applications, queues, topics and more at
Prio Conference
02. - 03. November 2011 in Meistersingerhalle Nürnberg

AppFabric Applications deep dive hosted by
.NET User Group Frankfurt
17.Nov.2011 18.30-22.30 Microsoft - Bad Homburg 

 

 

When enabling discovery functionality of the service in .NET 4.0 you may get following error:

"The 'address' property cannot be specified for endpoint of kind 'udpDiscoveryEndpoint'.  To configure the multicast address and port, use 'multicastAddress' property on a standardEndpoint element defined in the standardEndpoints\udpDiscoveryEndpoint section and reference it to this endpoint element using ‘endpointConfiguration’ property"

This happen when the discovery endpoint is used with address property (which is endpoint's relative address).

Here is the example which shows how to set this property:

<endpoint name="udpDiscoveryEpt" kind="udpDiscoveryEndpoint" address="discovery"/>

Because, the discovery endpoint is discoverable the address is not required (it wouldn't make a sense) and by default not allowed. Next line shows how to setup the right endpoint configuration:

<endpoint name="udpDiscoveryEpt" kind="udpDiscoveryEndpoint"/>


Posted Nov 23 2008, 08:54 PM by Damir Dobric

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
daenet GmbH