Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
CedricRO
Contributor II
Contributor II

QMSEDX Error code -532462766 : Method GetEDXTaskStatus

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)

2 Solutions

Accepted Solutions
Miguel_Angel_Baeyens

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.

View solution in original post

CedricRO
Contributor II
Contributor II
Author

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"

 

 

View solution in original post

4 Replies
Miguel_Angel_Baeyens

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.

CedricRO
Contributor II
Contributor II
Author

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

 

Brett_Bleess
Former Employee
Former Employee

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

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
CedricRO
Contributor II
Contributor II
Author

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"