|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ 7.5 - Exception on create "MQQueueManager" obje |
« View previous topic :: View next topic » |
Author |
Message
|
sharma_anish |
Posted: Fri Jun 28, 2013 11:03 am Post subject: MQ 7.5 - Exception on create "MQQueueManager" obje |
|
|
Newbie
Joined: 28 Jun 2013 Posts: 1
|
Trying to connect to a MQ server and post messages to a Queue from my (C#)console application. It works fine with my local machine user(network login) which has admin rights on the the machine, but incase I impersonate as another user(user X) it fails at the time of creating the "MQQueueManager" object. This use to work fine earlier but after upgrading from MQ 6.0 to 7.5 client on my local machine, I started getting this exception. If I add the impersonating user(user X) to Administrator group of local machine it works fine, Also tried adding the user X to "mqm" group but to no avail.
Exception details:
An error has occurred.
System.TypeInitializationException: The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Failed to load mqe.dll from folder C:\Program Files\IBM\WebSphere MQ\bin\
at IBM.WMQ.Nmqi.NativeManager.InitializeNativeApis(String mode)
--- End of inner exception stack trace ---
at IBM.WMQ.MQCommonServices..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
at IBM.WMQ.CommonServices.CreateCommonServices()
at IBM.WMQ.CommonServices.TraceEnabled()
at IBM.WMQ.MQBase..ctor()
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)
at S.MQ.SMQQueueManager.CreateMQQueueManager() in C:\Development\SMQLib\SMQQueueManager\SMQQueueManager.cs:line 241
Can somebody help me ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jun 30, 2013 4:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you recompile under the new client?
Also remember that the permissions in 6.0 and 7.5 are different where channels are concerned. Read up in the infocenter....
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|