This totally sounds like a deadlock issue. Some timeouts are not really
Sp_who2 should show a blockage - can be due to a transaction. Can also
action yet - sounds like a leaky transaction.
Hope this helps.
Thanks and Regards.
Manish Bafna.
"David Thielen" wrote:
> I don't think it is actually timing out because this happens in under a second.
>
> And it is hitting the Northwind database - the standard Microsoft sample.
> It's well designed and small so I don't think its the DB schema.
>
> --
> thanks - dave
> david_at_windward_dot_net
>
http://www.windwardreports.com >
> Cubicle Wars -
http://www.windwardreports.com/film.htm >
>
>
>
> "Manish Bafna" wrote:
>
> > Hi,
> > Actually System.Data.IDbCommand.CommandTimeOut = 50; as given in link is not
> > working.What you can do is inrease commantimeout of command object to higher
> > value say 120.And also increase executiontimeout in web.config.Let me kmow if
> > these things have solved your problem.Most importantly you must try to figure
> > out why the query or stored procedure is running slow ny using SQL
> > Profiler.Try creating appropriate index or if possible try to return fewer
> > records.
> > --
> > Hope this helps.
> > Thanks and Regards.
> > Manish Bafna.
> > MCP and MCTS.
> >
> >
> >
> > "David Thielen" wrote:
> >
> > > Hi;
> > >
> > > One of our testers is getting this now - and he is not running under a
> > > debugger. The error is:
> > > Exception(s):DataSourceException: executeQuery select=select CategoryName
> > > from Categories Timeout expired. The timeout period elapsed prior to
> > > completion of the operation or the server is not responding.
> > >
> > > It occurs randomly. And it returns this in under a second so it's unlikely
> > > to be an actual timeout. Also this is hitting Sql Server 2005 Express on the
> > > user's computer so it can't be a network issue.
> > >
> > > Any idea what this can be? This code is called when clicking a button in our
> > > program which then runs the exact same code each time. This happens
> > > occasionally and when it does sometimes it happens again the next 2 or 3
> > > times we click the button and then it's gone and everything is working.
> > >
> > > --
> > > thanks - dave
> > > david_at_windward_dot_net
> > >
http://www.windwardreports.com > > >
> > > Cubicle Wars -
http://www.windwardreports.com/film.htm > > >