1 Reply Latest reply: Sep 14, 2017 10:41 AM by Bas Knol RSS

    Customized Authentication

    Oleg Kosminskiy

      Hi,

       

      I'm trying to implement Customized Auth.through Autenticate.aspx.

      I took code from manual (attached) and tried to build project in Visual Studio.

       

      However, I had a problem with code.

      context.Response.AddVersionHeader();

       

      It's considered that VS should take this method from namespace QlikView.AccessPoint.HttpInterfaces in AccessPoint.dll

       

      But dll doesn't have such method.

      2017-08-03_15-52-47.png

      What I do wrong?

        • Re: Customized Authentication
          Bas Knol

          Hi Oleg,

           

          This documentation is for QlikView 11. Not sure if this is still working for QlikView 12.

           

          In the documentation on page 21 it describes you have to use the dll's in c:\Program Files\QlikView\Server\WebServer.

          I think the correct path for QlikView 12 is: C:\Program Files\QlikView\Server\QlikViewClients\QlikViewAjax\bin

          Make sure you reference these dll's in your solution.

           

          I think the call to AddVersionHeader method is not necessary for the solution to work. But you will need the Context object. I believe you can obtain the context object using de QvIISWebServer.dll, this has a GetContext method.

           

          Try to reference the mentioned dll's and remove that line of code.

           

          Kind regards,

          Bas Knol