On 64-bit Vista, version 1.1 of the .NET adapter fails with “An address incompatible with the requested protocol was used::8085:1” during design-time.

The Problem

This problem manifests itself using the .NET JMS adapter running on x64 Vista when using the design-time wizard, Add Adapter Service Reference… and clicking  the Connect button. The adapter is unable to connect to the JMS server and discover queues and topics and throws an exception. The error dialog will display:

"An address incompatible with the requested protocol was used::8085:1"

The adapter will have no problem on x86 (32-bit) Vista. This problem does not manifest on XP and Server 2003 (x86 or x64).

This error does not affect run-time execution or debugging of JMS client applications in Visual Studio.


The Work Around

Work "off-line" and use the generic functions (a better choice, as the JMS destinations can be parameterized). In the Configure dialog in the Bindings tab toggle the Work Off-line property to 'true'. Close the dialog by clicking OK and then click Connect to get only generic functions. If you have tried to connect and you get the error dialog with the message above, just click OK to use generic functions.


The Solution

This is a known defect in version 1.1. It will be fixed in version 1.1.1, targeted for release end of 2008.