I am using IBMMQDotnetClient version 9.3.4 in .net7 console application. I am facing to the below error on MQQueueManager() method. Is there any one who solved this ?
The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. | System.TypeInitializationException: The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. System.IO.FileNotFoundException: Error reading the directory. at System.IO.FileSystemWatcher.StartRaisingEvents() at IBM.WMQ.MQClientCfg.CheckForMqclientIniFileChanges() at IBM.WMQ.Nmqi.NmqiEnvironment..ctor(NmqiPropertyHandler nmqiPropertyHandler) at IBM.WMQ.Nmqi.NmqiFactory.GetInstance(NmqiPropertyHandler properties) at IBM.WMQ.MQQueueManager.cctor() --- End of inner exception stack trace ---
at IBM.WMQ.MQQueueManager..ctor(String queueManagerName, Hashtable properties)
the above error was relating to IBMMQDotnetClient version 9.3.4 and that error does not exist in version 9.3.1. solved