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
How do I remove and reinstall WSUS on a different server?
Displaying Picture in Access
NSLOOKUP Fails, Pings are successful.
Python, how can I parse a document object?
error when running append query
As the meeting organizer, you do not need to respond to the meeting
How to convert AVI to Wmv with adobe premiere pro
Stopped and Zombie processes
Problem using an if statement with a php variable in Flash
Default Website in IIS on Server 2003 is stopped and wont start