When an ISAM connection impersonated a SQL connection, if the ISAM connection called STPUSR() or CLISAM() before ending the impersonation, c-treeACE Server terminated with an unhandled exception. The logic has been changed so that it undoes the impersonation completely before executing STPUSR() or CLISAM(), which eliminates the problem.