Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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:
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
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.