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
Outlook Web Access (2003) stops loading with blue outline boxes
Replacing a "&" in database. Getting errror
Ruby upgrade to 1.8.6 on CentOS
Easy q - How to embed an image into an Outlook XP email?
Windows Vista Ultimate Message file was blocked does not have valid digital signature how to get around and download the file
Auto forwarding emails on the server
How to move a distribution list to GAL?
Thunderbird Bcc all sent Emails
@@@ LSMConsulting 3M @@@
How do I divide two integer values and get a result that includes 2 decimal places?