I'm trying to integrate qlikview with our site and a custom SQL based authentication backend it uses. To this end I started with a simplest custom Authenticate.aspx with a hardcoded username and put it into %ProgramFiles%\QlikView\Server\QlikViewClients\QlikViewAjax\ directory, replacing the one that was already there. The contents of my Authenticate.aspx:
The problem is, I don't think it's being used, as even the `File.AppendAllText` line doesn't work, and I'm getting a CONNECTION_RESET error from Authenticate.aspx in the browser (seen in dev tools in network log) after which it pops up a message that I'm not authorized to view the document and in QVWS log I can see it's falling back to anonymous, which explains the not authorized message.
Any ideas on what I could be doing wrong? Or even ideas on how to debug this?
Don't know much about ASP.NET so this could be a newbie error.
BTW, I got the idea and code for this from `Customized Authentication v2 0.zip` attached to one of the threads here.