Ok I found a way to keep client 7.5 as primary while still using client 9 in your application and this by using DEVPATH variable. You can set this environment variable in Windows and in value, provide the path of bin directory of client 9.
Then simply use the following code in your you .Net config file. This way your .Net application will look for files in DEVPATH instead of global assembly.
Original Message:
Sent: Sun February 11, 2024 03:59 PM
From: Francois Brandelik
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
Hi Frank,
The expectation is it is working because Version 9.1 allows some cipherspecs that were not supported in 7.5....
If 9.1 is the primary version you are using the 9.1 dll even if you think you are not. In order to use the other version you would have to run setmqenv before running the client's executable.
You might have to either update your cipherspec for your other 7.5 clients or update your mqclient.ini to allow weaker cipherspecs...
Have fun...
------------------------------
Francois Brandelik
Original Message:
Sent: Sun February 11, 2024 05:32 AM
From: Frank Martin
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
I unset client 7.5 as primary and made client 9 as primary and now my .Net application is working. But I am not sure I can do the same on production as existing .Net applications that are dependent on client 7.5 may stop working.
So need some idea as to why it is working.
EDIT
Now even if I use amqmdnet.dll from client 7.5 in my .Net application, it still works. Seems like when I set client 9 as primary, it set some global variable/setting in the system which was previously not available.
------------------------------
Frank Martin
Original Message:
Sent: Sun February 11, 2024 01:36 AM
From: Frank Martin
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
I did that and able to successfully install client version 9.1.4.
When I use that C utility AMQSSSLC.exe then it successfully connects to MQ using SSL.
Then I went into my .Net application, added reference of amqmdnet.dll from the new 9.1.4 client and tried to run but getting error:
The type initializer for 'IBM.WMQ.Nmqi.UnmanagedNmqiMQ' threw an exception
------------------------------
Frank Martin
Original Message:
Sent: Thu February 08, 2024 11:03 PM
From: Francois Brandelik
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
What you describe is a server install.
Use the "Custom" setting and select only from "Client" on down. Deselect anything above "Client".
Also deselect the "Web" feature as it was not yet standalone with that version.
Hope that works for you.
------------------------------
Francois Brandelik
Original Message:
Sent: Thu February 08, 2024 12:43 PM
From: Frank Martin
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
I am trying to install from file MQADV-Dev914-Win.rar which was provided by MQ team. I unzipped the file and started the setup and tried Typical install instead of Full or Custom. Is this not the client?
Let me check Fix Central. I also found following URL but I am not sure which one is the actual client on this link.
Index of /ibmdl/export/pub/software/websphere/messaging/mqadv
------------------------------
Frank Martin
Original Message:
Sent: Thu February 08, 2024 11:07 AM
From: Francois Brandelik
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
Hi Frank,
Your picture and the behavior, shows that you are trying to install the IBM MQ Server, not just the client.
If you want to make sure you only have the client binaries, get them from Fix Central looking for IBM MQC, or put MQ Client in the text when selecting fixes.
------------------------------
Francois Brandelik
Original Message:
Sent: Wed February 07, 2024 08:01 PM
From: Frank Martin
Subject: Which user permissions required for IBM MQ Client 9.3 installation on Windows
I tried to install IBQ MQ Client 9.3 on Windows Server 2019. During installation it asked for domain user account under which service will run. I gave current logged in user, but it failed even though this user is local administrator. It seems the account need some special permission to run MQ Client service.
I searched and found the following article which lists some permissions that are required. Check Table 1 in this article.
Local and domain user accounts for the IBM MQ Windows service - IBM Documentation
But I am not sure if this is the right article because it seems this is for IBM MQ server and not the client. Can you please tell me what permission are required by domain user account for IBM MQ client 9.3?
EDIT
Sorry the client version is 9.1.4 and following is the error I am getting. This is a domain user who is not only local administrator also added in mqm local group which was created by IBM MQ client.