I am facing a strange problem. After preparing a particular query, it throws Sql Server error number 8179 - "Could not find prepared statement with handle 2". If i use a different handle, then only the handle number changes in the message. The problem is that the error is thrown for 1st time execution only. Executing again works fine.
One more thing is that if i copy that query to another sample application, then the same query runs fine. NO problem.
I am using Gupta Team Developer as the Front End.
Is there anything related to "Memory" or anything ?