Microsoft
Software
Hardware
Network
Question : Timeout error - revisit.
Hi experts,
I am receiving below two errors frequently from SQL Server 2005 SP1.
Error 1:
1/30/2007 7:29:56 PM: System.Data.OleDb.OleDbExc
eption: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
at System.Data.OleDb.OleDbCom
mand.Execu
teCommandT
extForMult
pleResults
(tagDBPARA
MS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teCommandT
ext(Object
& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teCommand(
CommandBeh
avior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teReaderIn
ternal(Com
mandBehavi
or behavior, String method)
at System.Data.OleDb.OleDbCom
mand.Execu
teNonQuery
()
at MyProgram.MyClass.MyFuncti
on(String p1, Double[] p2, String[] p3, OleDbConnection pConnection)
Error 2:
1/30/2007 5:59:03 AM: System.Data.OleDb.OleDbExc
eption: Timeout expired
at System.Data.OleDb.OleDbCom
mand.Execu
teCommandT
extForMult
pleResults
(tagDBPARA
MS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teCommandT
ext(Object
& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teCommand(
CommandBeh
avior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCom
mand.Execu
teReaderIn
ternal(Com
mandBehavi
or behavior, String method)
at System.Data.OleDb.OleDbCom
mand.Execu
teNonQuery
()
at MyProgram.MyClass.MyFuncti
on2(String
p2, String p3, OleDbConnection pConnection)
The SQL Server 2005 is running on a supposingly powerful hardware which I will provide the configuration if
required. But the question is how to eliminate the above errors completely because I am not able to complete my
job smoothly and timely.
What I did so far is increase number of locks, uses with (nolock) option in my query, limit the number
of users accessing.
Problem is these errors occurred even when excuting "truncate table
" statements!
I really need help to eliminate this error or I may be forced to migrate to Oracle and kiss SQL Server goodbye.
Can anyone help? Let me know if more information is required.
Answer : Timeout error - revisit.
Also run profiler to check what statements are causing locks and consuming time.
Random Solutions
Save selected data from a multi-select combo box
A workstation cannot join domain
Generic Host Process for Win32 Services
exchange 2007 File Distribution and Service Host service stopped after update rollup 3 or 4 installation
'user must change password upon next login' option greyed out for some users in MS Server AD 2003
remove mc in as2 -easy points I'm sure
New exchange email group can only shown in "All Groups" in contact list, but cannot shown in "All contacts in Domain"
C code linking
Reduce CPU load of flash movie
Deploy Symantec Corporate edition v 10 with GPO