Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
string strUri = "https://desktop-dpummb2";
Uri uri = new Uri(strUri);
ILocation qsLocation = Qlik.Engine.Location.FromUri(uri);
qsLocation.VirtualProxyPath = "static";
qsLocation.AsStaticHeaderUserViaProxy("yaman", "X1-Qlik-Session", false);
// qsLocation.IsVersionCheckActive = false;
using (IHub MyHub = qsLocation.Hub())
{
when using line is compiled this i get this error :
I found the solution which is
qsLocation.AsNtlmUserViaProxy(false, new System.Net.NetworkCredential("yaman", "123", "desktop-dpummb2"));
Thanks Mr. Kolsrud
In your call to "AsStaticHeaderViaProxy" you are setting the argument "proxyUsesSsl" to false, but your URL seems to indicate that you are using https. You should probably set that argument to "true" instead.
I found the solution which is
qsLocation.AsNtlmUserViaProxy(false, new System.Net.NetworkCredential("yaman", "123", "desktop-dpummb2"));
Thanks Mr. Kolsrud