barkilic
4th October 2005, 16:12
Hello,
We are new in Windows 2003/SQL Server 2000 Environment.
I created a Sql server trigger. But while it runs, this message pops up:
Fatal error : Error 1000(bdb_errno 520) on tiitm100138 in select
Fatal error : Cannot continue in tiitm0202s000 in DLL : otiitmdll0003(get.company)
Error : tiitm0202s000: A not terminated transaction is aborted
And these are the log records in Windows 2003 Event Viewer's application section:
9/29/2005 2:19:30 PM Baan Error Bshell 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog bshell file \logic\mir\mir\bdb_fun.c # 1101
Keyword DB error
Username barkil type S language 2
Process 0x3f34
Lasterror 0
Errno 0
bdberrno 520 (Error during buffered updates)
Message Error 1000 (bdb_errno 520) on tiitm100138 in SELECT
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_row.c # 344
Keyword MSQL Error
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error during execute insert (dbo.ttiitm100138).
Flushed at \db\servers\MSQL\msql_row.c : #244.
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_error.c # 513
Keyword MSQL Messages
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error sqlcode 0 (sqlstate: HY000, Return code: -1, diagRecNum: 1) during SQLExecute.
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
Flushed at \db\servers\MSQL\msql_error.c : #518.
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_error.c # 513
Keyword MSQL Messages
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error sqlcode 0 (sqlstate: HY000, Return code: -1, diagRecNum: 1) during SQLExecDirect.
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
Flushed at \db\servers\MSQL\msql_error.c : #518.
The trigger looks like this:
Create TRIGGER giris_138
ON ttiitm001138
AFTER INSERT AS
insert into ttiitm200138 - - - - >That's a table I created.
(t_item,t_stat)
select
ek.t_item,
1
from inserted ek
GO
We are new in Windows 2003/SQL Server 2000 Environment.
I created a Sql server trigger. But while it runs, this message pops up:
Fatal error : Error 1000(bdb_errno 520) on tiitm100138 in select
Fatal error : Cannot continue in tiitm0202s000 in DLL : otiitmdll0003(get.company)
Error : tiitm0202s000: A not terminated transaction is aborted
And these are the log records in Windows 2003 Event Viewer's application section:
9/29/2005 2:19:30 PM Baan Error Bshell 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog bshell file \logic\mir\mir\bdb_fun.c # 1101
Keyword DB error
Username barkil type S language 2
Process 0x3f34
Lasterror 0
Errno 0
bdberrno 520 (Error during buffered updates)
Message Error 1000 (bdb_errno 520) on tiitm100138 in SELECT
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_row.c # 344
Keyword MSQL Error
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error during execute insert (dbo.ttiitm100138).
Flushed at \db\servers\MSQL\msql_row.c : #244.
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_error.c # 513
Keyword MSQL Messages
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error sqlcode 0 (sqlstate: HY000, Return code: -1, diagRecNum: 1) during SQLExecute.
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
Flushed at \db\servers\MSQL\msql_error.c : #518.
"
9/29/2005 2:19:30 PM Baan Error Msql7_srv 1000 TRABB01\BARKIL TRABB01ISAS99 "Env BaanIV (d:\baaniv)
Prog msql7_srv file \db\servers\MSQL\msql_error.c # 513
Keyword MSQL Messages
Username barkil type S language 2
Process 0x3d78
Lasterror 0
Errno 0
bdberrno 0
Message
dbs_errno = 1000 Error 1000 occurred:
Error sqlcode 0 (sqlstate: HY000, Return code: -1, diagRecNum: 1) during SQLExecDirect.
[Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
Flushed at \db\servers\MSQL\msql_error.c : #518.
The trigger looks like this:
Create TRIGGER giris_138
ON ttiitm001138
AFTER INSERT AS
insert into ttiitm200138 - - - - >That's a table I created.
(t_item,t_stat)
select
ek.t_item,
1
from inserted ek
GO