2 Replies Latest reply: Mar 14, 2017 7:38 PM by Amien Amien RSS

    Dot Net SDK Version Problem

    Aro raj

      I am using Visual Studio 2015 , QlikSense Server 2.2.4 , Qlik Sense .Net SDK 3.1.2 (this version) , When i am trying to connect to qliksense server and list the apps , it throws the following error :

       

      SDK target system version mismatch. SDK target system version (v3.1.0) should match server version(v2.2.4)

       

      SDK target system version mismatch. SDK target system version (v10.0.3) should match server version(v2.2.4)

       

      My code is this :

      foreach (var appIdentifier in location.GetAppIdentifiers())

                      {

                          using (var app = location.App(appIdentifier))// Location specified in Accessing

                          {

                              var layout = app.GetAppLayout();

                              Console.WriteLine(layout.Title + " [" + app.Type + "]");

                          }

                      }

       

      Can you please suggest me any solutions for this .

       

      Thanks for your support

        • Re: Dot Net SDK Version Problem
          Øystein Kolsrud

          The reason for the version check is to guarantee that the .Net SDK has been built based on the same API specification as the Qlik Sense version you are communicating with. In your case you can either switch to SDK version 2.2.4, or you can turn of the version check. The latter is typically OK, but you might run into some errors relating to API endpoints having changed between the Qlik Sense version and the .Net SDK version. In particular, the client dll might give some surprises.

           

          To turn off the version check you add the following code:

           

          location.IsVersionCheckActive = false;