tags:

views:

114

answers:

2

Hi,

I'm testing a C# application on SQL Server 2008. It used to work perfectly on 2005 Express edition, but now it seems to take ages to open connections to 2008 Express (default install, using sharedmem protocol).

Also, repeteadly I got errors of connection problems.

Any idea?

A: 

Are you getting any error message? What does it say exactly?

Any chance that this has something to do with the default instance name problem?

Magnus Johansson
I can connect, the app works, but from time to time some operations fail with a "can't connect to the server" (will find the exact message) error, like if it were running out of connections or something, but it's doing very little DB job.First queries take ages (an insert and updated) compared to 2005, then later behaves correctly.
pablo
Is this on a local instance, or remote?
Magnus Johansson
Local instance only
pablo
A: 

Here is someone with the same problem:

http://sql-server-performance.com/Community/forums/p/28118/159186.aspx

Appears that there are problems with statistics on upgraded databases. They recommend droping and recreating the database statistics.

Shiraz Bhaiji