Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Error loading from Excel to SQL2005

Author  Topic 

freebie2009
Starting Member

1 Post

Posted - 2009-06-25 : 16:04:44
Hi All,

When I load from excel to SQL 2005. This error comes up

Error running Import
Application Error Occurred:
Error Number DBDatabaseLockException
Erro Source:T1.Tb
at T1.Tb.Data.DBCommand.mHandleException(Exception exceptionObj, Boolean& rolledBack)
at T1.Tb.Data.DBCommand.ExecuteNonQuery()
at T1.Tb.Data.DBCommand.Execute()
at T1.F1.Ldg.LedgerImportLedger.LockLedgerAccountInfo()
Error Description: LockTimeout detected:Now=6/07/2008 7:18:27 PM,elapsed=100.00448 secs, DBTimeout=100 secs
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated:-UPDATE glf_ldg_acct SET vers = vers WHERE ldg_name=@sLdgname_1
AND accnbri IN
('11860000630500','11870000630300','11890EC1630500','11890EC2630500','11890EC3630500','1189OEC4630500'
'1190000630500','11920000630500','1999999999999')

It says something about a timeout. Can someone tell me where I need to change this setting? This is a 32bit and running on a 64bit OS.

Thanks and appreciate any advice.

   

- Advertisement -