Tuesday, April 24, 2012

Service Bus Error


Error:An extension of name 'transportClientEndpointBehavior' already appears in extension collection. Extension names must be unique

An extension of name 'netTcpRelayBinding' already appears in extension collection. Extension names must be unique


Solution: Well, the Exception pretty much says it all: somewhere higher up in the configuration hierarchy (web.config in a higher level directory / machine.config etc.)

These extensions are already present in machine.config file. As app.config file in lab again has these extension - we have to just to comment out these extensions.


Error:System.Net.Sockets.SocketException was unhandled
  Message=No such host is known

Wrong version of Microsoft.ServiceBus assembly referenced. Change it to correct version.

No comments:

Post a Comment