dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

RE: sql server 2005 OleDbException timeout - sqlserver-server

This is a discussion on RE: sql server 2005 OleDbException timeout - sqlserver-server ; Yes - identical problem "pbx" wrote: > > Every once in a while I will get an exception like this in my .NET > app: > > System.Data.OleDb.OleDbException: Timeout expired at > System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior > behavior, String method) at > ...


Home > Database Forum > Microsoft SQL Server > sqlserver-server > RE: sql server 2005 OleDbException timeout

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 07-17-2007, 12:54 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default RE: sql server 2005 OleDbException timeout

Yes - identical problem



"pbx" wrote:

>
> Every once in a while I will get an exception like this in my .NET
> app:
>
> System.Data.OleDb.OleDbException: Timeout expired at
> System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior
> behavior, String method) at
> System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at ...
>
> At first I figured it was a simple timeout problem. The default is 30
> seconds and the query was just taking longer. Then I found that the
> query in question executes very fast (under 2 seconds) relative to the
> timeout of 30. So I figured my problem might be a concurrency issue,
> where another connection was busy on the table in question. But on
> further review that didn't seem to be the case.
>
> It turns out that SQL Server is slowing down at unpredictable times...
> causing all queries to take 10x or more time than normal. It will go
> into "slow" mode for a period of time (maybe 10 minutes) and then come
> out of it. I have seen this a couple of times. One way to "fix" it
> (stop it from continuing to be slow) is to restart the server. When
> it is slow there is nothing else on the system that might interfere,
> plenty of memory, nominal CPU use, etc.
>
> Has anyone else seen this?
>
>

Reply With Quote
  #2  
Old 07-25-2009, 03:48 AM
Database Newbie
 
Join Date: Jul 2009
Posts: 1
spikeinin is on a distinguished road
Default Re: sql server 2005 OleDbException timeout

I have never been experience that sql server 2005 OleDbException timeout, maybe the hard ware compatibility?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Sql Server 2005 Express and Act DB - ? Database Administrator ms-sqlserver 4 05-14-2007 07:35 PM
SQL Server Courses Database Administrator sqlserver-olap 0 03-20-2007 11:05 PM
SQL Server Courses Database Administrator sqlserver-datawarehouse 0 03-20-2007 11:00 PM
The Data Miner: SQL Server Data Mining Newsletter (April 2005) Database Administrator sqlserver-datamining 0 04-29-2005 06:58 PM


All times are GMT -4. The time now is 05:43 PM.