4 Replies Latest reply on Jun 20, 2012 9:33 AM by bjornosmundsen

    Trusted authentication error after migration to tableau 7.0

    Ivan Maffioli

      Hello,

      I have a web portal in ASP.

      This portal works correctly with Tableau server 6.1.0.

       

      After migration to Tableau 7.0 the trusted authentication stop working: the return ticket is -1

      On the same server I have another portal in ASP.NET that after migration continues to work correctly!

      Are there any problem with tableau 7.0 and ASP?

       

      This is the ASP code that works with version 6.1.0

       

      <%

      Dim objWinHttp

      Dim unique_id,uri

      uri = request.querystring("uri")

      Set objWinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")

      objWinHttp.Open "POST", "http://myTableauServer/trusted",false

      objWinHttp.SetRequestHeader "ContentType", "application/x-www-form-urlencoded"

      objWinHttp.Send("username=taf&client_ip="& Request.ServerVariables("remote_host"))

      unique_id = objWinHttp.ResponseText

      Set objWinHttp = Nothing

       

      if unique_id <> "" then

                Response.Redirect("http://myTableauServer/trusted/" & unique_id & "/" & uri)

      end if

      %>

      <h1>Here's The Page:</h1>

      <table border="1">

      <tr><td>

      <%= strHTML %>

      </td></tr>

      </table>

      <br />

       

      <h1>Here's The Code:</h1>

      <table border="1">

      <tr><td>

      <pre>

       

      <%= Server.HTMLEncode(strHTML) %>

      </pre>

      </td></tr>

      </table>

       

       

      Thank you