Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
srgank
Contributor
Contributor

QMSEDX problem

Good Morning. 

I'm having a problem with QMSEDX in order to launch qlikview task from a remote powershell.

The situation is the following.

I have  3 servers:

  •  Server A have QV server installed and inside a domain
  • Server B have access to QV server and I can launch task through QMSEDX and it is in the same domain as the QV server
  • Server C is not in the same domain

The point is that I can use the instruction 

 

D:\QMSEDX.exe -task="publicados/ReportA.qvw" -qms="IP OF SERVER A" 

 

from the server B loged in with an specific domain user that exists in server A "Qlikview Administrators group". 

Then, from server C i execute this instruction from a powershell: 

 

$Username = "domainUser"
$Password = "XXXXXXX"
$cred = New-Object System.Management.Automation.PSCredential -ArgumentList @($Username,(ConvertTo-SecureString -String $Password -AsPlainText -Force))
Get-Credential -Credential $cred
Invoke-Command -Computername "IP OF SERVER B" -ScriptBlock {D:\QMSEDX.exe -task="publicados/ReportA.qvw" -qms="IP OF SERVER A"} -Credential $cred

 

I'm getting the following error: 

Failed to create a client to the specified Uri, retries=2.
The HTTP request was forbidden with client authentication scheme 'Ntlm'.
Retry in 10s...

 Does anybody have a clue to solve this error?

 

Many thanks in advance

Labels (1)
  • Other

1 Reply
Dan-Kenobi
Partner - Contributor III
Partner - Contributor III

That error happens, 9 times out of 10, when the credentials are wrong.

I would try to shift+Right-Click the PowerShell icon and do a "Open as a Different user.." ... type in the credentials and try to run the EDX straight from the console. 

Or, just RDP to the server as the account and simply run the command from the console of ServerC the same way as you do on ServerB ...

Please let me know if it helps.