Function sequence error

  • The "function sequence error" means is that the sequence of opening a statement, initalizing a result set, reading the result set (most often from beginning to end, from left to right) and releasing resources has not been performed in the proper order. I've seen this exception when someone tries to read from a result set before calling rs.next().
    You can find more information more info here: http://www.mssqlserver.repair/