Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

EDX Trigger - External Event

Hi Folks, I am trying to trigger the task by using QMSEDX external trigger. I am using QV 11.2 but I got the follwong error.

Batch File:

"\\QVServer\QVStaging\Tools\QMSEDX" -task="ST

AGING BAT Reload Task of MS\Testing_BAT\Violation_Summary.qvw"

Error:

\\QVSever\QVStaging\Tools>"\\QVServer\QVStaging\Tools\QMSEDX" -task="ST
AGING BAT Reload Task of MS\Testing_BAT\Violation_Summary.qvw"
Failed to create a client to the specified Uri.
There was no endpoint listening at http://localhost:4799/QMS/Service that could
accept the message. This is often caused by an incorrect address or SOAP action.
See InnerException, if present, for more details.

Unhandled Exception: System.ServiceModel.EndpointNotFoundException: There was no
endpoint listening at http://localhost:4799/QMS/Service that could accept the m
essage. This is often caused by an incorrect address or SOAP action. See InnerEx
ception, if present, for more details. ---> System.Net.WebException: Unable to c
onnect to the remote server ---> System.Net.Sockets.SocketException: No connecti
on could be made because the target machine actively refused it [::1]:4799
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddre
ss socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Sock
et s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state,
IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStre
am()
   --- End of inner exception stack trace ---

Server stack trace:
   at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStre
am()
   at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpCha
nnelRequest.SendRequest(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeS
pan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message messag
e, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean on
eway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan tim
eout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCall
Message methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req
Msg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa
ta, Int32 type)
   at QMSEDX.QMSAPI.IQMS.TriggerEDXTask(Guid qdsID, String taskNameOrID, String
password, String variableName, List`1 variableValues)
   at QMSEDX.QMSAPI.QMSClient.TriggerEDXTask(Guid qdsID, String taskNameOrID, St
ring password, String variableName, List`1 variableValues)
   at QMSEDX.Program.TriggerTask(IQMS qms, String task, String password, String
variableName, List`1 variableValues)
   at QMSEDX.Program.TriggerAndMonitorTask()
   at QMSEDX.Program.Main(String[] args)

Please help me , how to solve the problem...

1 Reply
Miguel_Angel_Baeyens

Hi,

Make sure yo have added the local group "QlikView EDX" in the server and the users that are going to run EDX tasks must have logged on to it.

There shouldn't be any firewalls from the client and the server blocking port 4799, and according to your logs, "localhost" may not be the right name for the server to be reached from another network resource. Probably the IP or the server name will do.

Hope that helps.

Miguel