Comment 0 for bug 1252809

Revision history for this message
Aruna Sadashiva (aruna-sadashiva) wrote : Getting 'Invalid server handle' after bound hstmt is used for a while.

'Invalid server handle' is returned and insert fails when using SQLBindParameter/Prepare/Execute. The SQLExecute is done in a loop. It works for a while, but fails within 10 minutes. Changed the program to reconnect every 5 mins, but still seeing this error. It works on SQ.

Have attached simple test program to recreate this. To run on SQ remove the SQLExecDirect calls to set CQDs, those are specific to Traf.