Re: Slow access on XP using ADO with ODBC to SQL Server 2000 - any ideas?
- From: "Dave Patrick" <DSPatrick@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 16:41:09 -0600
Just a thought but you might try changing the SQL server name in the
connection string to the server's IP address as a test. Also make sure that
tracing is turned off in Data Sources ODBC administrator.
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Daniel Crichton" wrote:
| I've got one PC here running XP Pro SP2 that is acting "weird". I have an
| application that uses ADO via an ODBC DSN to do SELECTs and UPDATEs on
some
| records in a table. Until 2 days ago this application ran perfectly well
on
| this PC, but now runs very slowly (tests indicate over 100 times slower)
| than before. Switching to Named Pipes cures the problem, but I'd rather
try
| and keep all the machines here configured the same way using TCP/IP. All
| other XP Pro and 2000 Pro machines I've run this app on using TCP/IP works
| fine.
|
| Another application using the same database code, just dealing with a
| different set of records (actually has a larger ForwardOnly recordset in
| memory that it loops through to feed the recordset that does the SELECTs
and
| UPDATEs, around 12000 items compared to 4500 in the one that's running
| superslow), runs as quickly as expected using the same DSN when set to
| TCP/IP. This is really confusing me - I've checked everything I can think
of
| on the machine itself (firewall is off, updates applied, MDAC checks out,
| etc).
|
| I guess I'm looking for a way to check, and replace with originals, any
DLLs
| or other files that are used by the SQL Server ODBC driver over TCP/IP
that
| are not used when connecting via Named Pipes. Any ideas?
|
| Dan
|
|
.
- References:
- Slow access on XP using ADO with ODBC to SQL Server 2000 - any ideas?
- From: Daniel Crichton
- Slow access on XP using ADO with ODBC to SQL Server 2000 - any ideas?
- Prev by Date: Slow access on XP using ADO with ODBC to SQL Server 2000 - any ideas?
- Next by Date: Which MDAC Version to Install
- Previous by thread: Slow access on XP using ADO with ODBC to SQL Server 2000 - any ideas?
- Next by thread: Which MDAC Version to Install
- Index(es):
Relevant Pages
|
|