3 Replies Latest reply: Feb 3, 2015 2:10 AM by Lars-Goran Book RSS

    Trouble Connecting via QlikSense.NetSDK

    Daniel Göhler

      Hi,

       

      I try to connect via QlikSense.NetSDK to the Qlik Sense Server:

       

      Uri uri = new Uri("https://<qliksense-server>");

      ILocation remoteQlikSenseLocation = Qlik.Engine.Location.FromUri(uri);

      remoteQlikSenseLocation.AsNtlmUserViaProxy();

                 

      foreach (IAppIdentifier appIdentifier in remoteQlikSenseLocation.GetAppIdentifiers())

      {

        Console.WriteLine(appIdentifier.AppName);

      }


      remoteQlikSenseLocation.GetAppIdentifiers() throws an Exception:

      An unhandled exception of type 'System.IO.IOException' occurred in Qlik.Engine.dll

      Additional information: Error in handshake due to an unexpected packet format.

       

      Help [1] and the existing threads did not help me. I can connect to Qlik Sense Desktop via Qlik.Engine.Location.Local; without any problem.

       

      Does connecting to Qlik Sense Server worked for anyone?

       

      What do I wrong?

       

      Best regards,

        Daniel

       

      [1]:

      https://help.qlik.com/sense/en-us/developer/#../Subsystems/NetSdk/Content/HowTos/NetSdk_HowTo_LocateQlikView.htm

      https://help.qlik.com/sense/en-us/developer/#../Subsystems/NetSdk/Content/HowTos/NetSdk_HowTo_AccessQlikView.htm