Experiencing an AddressFilter mismatch when deploying a service to Windows Azure

So I got my service all ready and working by setting the web role as the startup project. But when I wanted to go test my service in my local development fabric I kept getting the following error:

DestinationUnreachable__V_V___xml_lang_en-USThe message with To ‘http://mybox:82/Services/DataService.svc/binary‘ cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver’s EndpointAddresses agree.__

Apparently, I needed to add the following property to the Service Behavior attribute.

[ServiceBehavior(IncludeExceptionDetailInFaults = true, AddressFilterMode = AddressFilterMode.Any)]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s