Icon View Incident Report

Serious Serious
Reported By: Ian Turner
Reported On: 8/9/2010
For: Version 2.03 Build 19
# 3274 ElevateDB Manager Script Debugger Can Cause Deadlock with Remote Sessions

I am trying to create a job to backup 2 ElevateDB databases, using ElevateDB Manager (everything on 2.03b19). However the Job did not appear to work so I started to break the SQL up into bits.

I started with this query, which works fine -

BACKUP DATABASE npchSGPT
AS "npchSGPTDataBaseDailyBackup"
TO STORE "Database Backup"
INCLUDE CATALOG

However, when I try to run the same sql using a script as below -

SCRIPT
BEGIN
EXECUTE IMMEDIATE 'BACKUP DATABASE npchSGPT
AS "npchSGPTDataBaseDailyBackup"
TO STORE "Database Backup"
INCLUDE CATALOG;';
END

The Backup Database SQL is executed and a message is displayed to say it has completed in n.nn secs but then the script does not complete and hangs for a while before coming up with the error -

ElevateDB Error #506 Cannot lock the session manager (ID: 1)


Comments Comments and Workarounds
The problem was caused by the SQL editor's tooltip expression evaluation for script variables, which was was causing a deadlock in the remote session manager. The workaround is to execute the script in a normal application outside of the script debugger in the ElevateDB Manager.


Resolution Resolution
Fixed Problem on 8/12/2010 in version 2.03 build 20


Products Affected Products Affected
ElevateDB Additional Software and Utilities

Image