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
VBA - Array Looping datatype Long, String, and worksheet code name
SEO Best practices, is the following page not SEO friendly?
GFI Faxmaker becomes failure after a period of time.
Can not connect to Remote Desktop on XP Pro machine
Sudden Intermittant Printing Problem
Cannot start VMware VirtualCenter Server Service
AIX -- /usr 100%
Automatically deleting emails by date
NTbackups are failing and produce 4 event 6013 errors each time
How I restore the system (Mac OS 10.2) back to day one?