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
Entity Relationship model tools
Using MS DataGrid in Microsoft Access 2002/2003
Can't get integrated authentication to work in Exchange FE/BE deployment
Terminal services keep disconnecting
DateTime and Varchar
In Powershell, need to find way to grab all computer names from a given AD OU
How to prompt user for criteria before query runs in Access 2007
SYSERR(root): savemail: cannot save rejected email anywhere
Set initial dir of SHBrowseForFolder function
BEST PRACTICES FOR DEPLOYING FTP