DSN-less ODBC connection to SQL Server 
Author Message
 DSN-less ODBC connection to SQL Server

There is another option to going to TCP/IP to avoid the performance issue.
SQL Server only allocates a single thread to listen for pipe requests by
default, and this is likely the cause of your performance issues.  When the
number of users increases the likelihood of the thread being busy servicing
another users request increases also, forcing users to wait for the thread.
 However, with some registry modifications you can increase the number of
threads SQL Server allocates to listening for pipe requests.  there is an
article on this in the KB.


> We have been using this DSN-less connection method from VB for a few
> months now.  BUT, what we have noticed in the last little while is a
> performance issue when clients are using Named Pipes versus a TCP/IP
> connection to the SQL Server.

> We have figured out that this DSN-less connection gets its default
> connection type from the SQL Client Configuration.  The problem is that
> we don't have the specific SQL Client Configuration (from SQL Server)
> installed on all machines and therefore have no way of seting TCP/IP to
> be the default.

> Is there a protocol parameter that we can use in the DSN-less connection
> string?  We have tried a few hundred things but nothing seems to work.
> There is nothing in the Registry under ODBC-SQL Server driver (or
> anywhere else) that indicates that Named Pipes is the default protocol to
> use for SQL Server.  Is there an entry we can make here as well?

> Any help would be greatly appreciated and please remember that we do not
> want to have to install the SQL Client Configuration on the client
> machines.

> the news groups.

Fri, 21 Jan 2000 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. DSN-less ODBC connection to SQL Server

2. Crystal and ODBC DSN/DSN-less connections - do I need USER DSN or SYSTEM DSN

3. Need Connection string for VB6 DAO DSN-LESS Connections to SQL Server 2000

4. Need Connection string for VB6 DAO DSN-LESS Connections to SQL Server 2000

5. DSN Less Connection to SQL Server

6. DSN-Less Crystal Connection to SQL Server

7. ADO - DSN less connection to SQL server Database

8. ADO DSN-Less Connection to SQL Server

9. Connect SQL-SERVER via File DSN or DSN LESS

10. Import Excel with ODBC Drivers and DSN-less connection

11. DSN-less ODBC Connections (Oracle)

12. Need DSN'less connection to Client Access ODBC Driver


Powered by phpBB® Forum Software