Error when getting record by security provider

I have a server action with a query that is filtered by the Identity of the security provider. When logged in I get the following error. If I hard code the Identity (it is an int field in an MS SQL database) it works fine. Can someone point me in the right direction to troubleshoot this?

It is classic ASP, with an MS SQL database. Thanks if advance!

  1. {type: “Error”, fileName: “modules/dbconnector.asp”, lineNumber: 46,…}

  2. appData: {}

  3. fileName: “modules/dbconnector.asp”

  4. lineNumber: 46

  5. message: “Application uses a value of the wrong type for the current operation.”

  6. stack: [{fileName: “lib/core/response.asp”, lineNumber: 181, method: “error”,…},…]

  7. type: “Error”

Community Page
Last updated: