Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have an error code 532462766 from GetEDXTaskStatus Method when i call QMSEDX command line :
qmsedx.exe -task="RELOAD_DIM_PLANNING_PREVISIONNEL" -qms=http://...../QMS/Service -password="..." -timeout=4800
It's possible to say server is overload ?
Method GetEDXTaskStatus ping server for state of task, why this method return an error when try GetTASKSTATUS, why not relaunch call and catch error ?
Stack trace :
Exception non g‚r‚eÿ: System.ServiceModel.FaultException: Message inspection failed
Server stack trace:
… System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
… System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
… System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
… System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
… System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
… System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
… QMSEDX.QMSAPI.IQMS.GetEDXTaskStatus(Guid qdsID, Guid executionID)
… QMSEDX.QMSAPI.QMSClient.GetEDXTaskStatus(Guid qdsID, Guid executionID)
… QMSEDX.Program.<>c__DisplayClasse.<PollSingleTask>b__d()
… System.Threading.SpinWait.SpinUntil(Func`1 condition, Int32 millisecondsTimeout)
… QMSEDX.Program.PollSingleTask(IQMS client, Guid execId, Int32 pollInterval, Int32 timeout)
… QMSEDX.Program.TriggerAndMonitorTask()
… QMSEDX.Program.Main(String[] args)
Not sure what your question is here.
QMSEDX.exe (https://support.qlik.com/articles/000005641) is just one sample implementation of EDX using .NET and QMS APIs.
There are other implementations with code you can peruse here:
Make sure those implementations are updated for the version of QlikView you are using. Those above were developed for QlikView 11, long time ago and may need modifications in the code to adjust to QlikView 12.x API calls.
Hi,
i send this version of QMSEDX again witch relaunch GetEDXTaskStatus when failed but no change parameters
When error, warnning events log is created like
Error Checking the status of task RELOAD_QV0373_SUIVI_COMMANDE_DATA error=System.ServiceModel.FaultException: System.Exception: Could not find a result for the specified execution ID "2e8d95e6-ad2d-48fb-bc95-9fbc3c93df7e"
Not sure what your question is here.
QMSEDX.exe (https://support.qlik.com/articles/000005641) is just one sample implementation of EDX using .NET and QMS APIs.
There are other implementations with code you can peruse here:
Make sure those implementations are updated for the version of QlikView you are using. Those above were developed for QlikView 11, long time ago and may need modifications in the code to adjust to QlikView 12.x API calls.
i found same post, QMSEDX has been compiler again witch relaunch GetEDXTaskStatus when failed
i think it's good idea.
https://community.qlik.com/t5/QlikView-Deployment/QMSEDX-exe-Unhandled-exception/td-p/372938
Just adding a link to the Help for the QMS API area:
https://help.qlik.com/en-US/qlikview-developer/April2020/Content/QV_HelpSites/APIsAndSDKs.htm
Regards,
Brett
Hi,
i send this version of QMSEDX again witch relaunch GetEDXTaskStatus when failed but no change parameters
When error, warnning events log is created like
Error Checking the status of task RELOAD_QV0373_SUIVI_COMMANDE_DATA error=System.ServiceModel.FaultException: System.Exception: Could not find a result for the specified execution ID "2e8d95e6-ad2d-48fb-bc95-9fbc3c93df7e"