Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
When I call ExportApp method, i'm always get error message "Forbidden 403". Does exists a permission required?
My code is below:
ILocation r = Qlik.Engine.Location.FromUri("https://srv-bi.domain.local");
System.Net.NetworkCredential loginCredentials =
new System.Net.NetworkCredential("user", "pass", "domain");
r.AsNtlmUserViaProxy(loginCredentials: loginCredentials);
using (IHub hub = r.Hub(Session.Random, false))
{
List<string> l = new List<string>();
string qAppId = "6f8d9ff3-f686-4611-9f08-d03226074ca5";
MessageBox.Show("?");
var b =
hub.ExportApp(@"C:\Qlik\Teste.qvf", qAppId, l); //
MessageBox.Show(b.ToString());
I solve this problem! I create an security rule to the user that i connect, and it works fine.
I don't think that method should be called directly on the engine. I believe the correct approach would be to go through the QRS-API instead. Check out this page for more information:
I solve this problem! I create an security rule to the user that i connect, and it works fine.
Hello,
I have the same problem as you.
I always get the error "forbidden 403" when trying ExportApp.
How did you create this security rule? Thanks in advance.