A new Flexera Community experience is coming on November 25th, click here for more information.
I am completing the configure part of the upgrade and getting error related to MSMQ. I have also raised a case.
Running ".\Config.ps1 "Config\FNMS Windows Authentication Config.xml" updateconfig"
Getting error:
Completed step Configure BusinessReportingAuthentication virtual directory.
Executing step Create MSMQ queues.
MSMQ is already installed
MSMQ-Services is already installed
MSMQ-Server is already installed
Queue exists but its transactional state () is different to the expected (True). The queue will be recreated.
ExecuteCustomScripts : System.Management.Automation.MethodInvocationException: Exception calling "Delete" with "1" argument(s): "Access to Message Queuing system is denied." ---> System.Messaging.MessageQueueException: Access to Message
Queuing system is denied.
at System.Messaging.MessageQueue.Delete(String path)
at CallSite.Target(Closure , CallSite , Object , String )
--- End of inner exception stack trace ---
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
at System.Management.Automation.CommandProcessorBase.Complete()
At C:\temp\FNMSDownloads\FNMS 2020 R2\FlexNet Manager Suite\support\ConfigHelper.ps1:1146 char:11
+ $ret = ExecuteCustomScripts $configMode $serverStep
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ExecuteCustomScripts
Aug 09, 2021 03:15 AM
Hi,
It sounds like the message queues might have been created with another user. The FNMS config script sets the service account as "Full Control". Please check the queues in Computer Management and see if you can change the user permissions.
Adding permission afterwards can be tricky (if your current account doesn't have rights). Maybe uninstalling the message queuing from the server does the trick? The script should automatically re-install the feature.
Best regards,
Markward
Aug 09, 2021 03:48 AM
Hi,
It sounds like the message queues might have been created with another user. The FNMS config script sets the service account as "Full Control". Please check the queues in Computer Management and see if you can change the user permissions.
Adding permission afterwards can be tricky (if your current account doesn't have rights). Maybe uninstalling the message queuing from the server does the trick? The script should automatically re-install the feature.
Best regards,
Markward
Aug 09, 2021 03:48 AM
Aug 09, 2021 05:23 AM
I agree with @mfranz , either your service account should have Full Control/Access to MSMQ
or uninstall the MSMQ by browsing > Server Manager > Manage > Remove roles or features
Then re-run power shell scripts, it should create MSMQ without any errors
Aug 09, 2021 04:44 AM