Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hello Expert,
I got follwing error.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at QMSEDX.Program.TriggerAndMonitorTask()
at QMSEDX.Program.Main(String[] args).
Can I know reason and remedy?
 jerrysvensson
		
			jerrysvensson
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi
Can you supply us with your QlikView version you are running?
 
					
				
		
Qlikview 11 SR2
 SunilChauhan
		
			SunilChauhan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		use below code in QMSEDX.exe.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IQMS" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Ntlm" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="BasicHttpBinding_IQTService" closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Ntlm" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://servername:4799/QMS/Service" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IQMS" contract="QMSAPI.IQMS"
name="BasicHttpBinding_IQMS"/>
<endpoint address="http://servername:4799/ANY/Service" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IQTService" contract="QMSAPI.IQTService"
name="BasicHttpBinding_IQTService" />
</client>
</system.serviceModel>
</configuration>
 SunilChauhan
		
			SunilChauhan
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		use this
http://community.qlik.com/docs/DOC-2650
1)copy QMSEDX.exe.config and QMSEDX.exe from above link
2) create a batch file use below code and change your path of exe and task name below
path\QMSEDX.exe -task="your publisher task name"
EXIT /B
task name should from publishers task
3) creates Qlikview EDX and Qlikview Management API group and add username from which you want to reload
now run batch file mannually and see task should be triggered
hope this helps
 jerrysvensson
		
			jerrysvensson
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi, there is a bug in your version
http://community.qlikview.com/message/221101#221101
My client use the same version as you and we have the same problem.
 
					
				
		
 maksim_senin
		
			maksim_senin
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
It seems that it still remains even in 11.20.12235 SR5... tyring the doc
 
					
				
		
I had another error:
Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:00:59.9844001. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://localhost:4799/QMS/Service' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, 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, String 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)
 
					
				
		
Hi, I commented that the solution to this problem is also presented me two servers, was to include the user's server
 who executed the task in the Windows group "Administrators QlikView."
 I hope you serve.
 greetings
 Leonardo
