An error message is seen every time a TIBCO Enterprise Message Service (EMS) .NET client runs on a specific host: “Invalid protocol specification”.
book
Article ID: KB0086100
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Message Service
-
Not Applicable
-
Description
Resolution: Description: ========== Every time a TIBCO Enterprise Message Service (EMS) .NET client application runs in on a Microsoft Windows specific host, an error message similar to the following is seen:
TIBCO.EMS.EMSException: Invalid protocol specification at TIBCO.EMS.CFImpl._CreateConnection(String userName, String password) at TIBCO.EMS.QueueConnectionFactory.CreateQueueConnection(String userName, String password) at TIBCO.EMS.ADMIN.MessengerUtil..ctor(String url, String username, String password, Hashtable sslParams)
Resolution: =========== This error occurs when the assemblies on the host machine for TIBCO.EMS, TIBCO.EMS.ADMIN and TIBCO.EMS-CF are incorrect for any of the following reasons:
In order to address this problem follow these steps:
1. In the case where the assemblies are available in on the machine where the .NET application fails, uninstall TIBCO.EMS and TIBCO.EMS.ADMIN from the .NET GAC.
Obtain the dlls TIBCO.EMS.dll and TIBCO.EMS.ADMIN.dll from the correct TIBCO Enterprise Message Service (EMS) version and install them in the .NET GAC. If the application runs fine on another Windows host, then the dlls can be copied from that host.
Note: Assemblies in the Windows host are usually located in c:/windows/assembly.
Issue/Introduction
An error message is seen every time a TIBCO Enterprise Message Service (EMS) .NET client runs on a specific host: “Invalid protocol specification”.