2025-04-27 07:49:33 -04:00

58 lines
3.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>Choosing the Client Networking Library for ADO</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
TempString = navigator.appVersion
if (navigator.appName == "Microsoft Internet Explorer"){
// Check to see if browser is Microsoft
if (TempString.indexOf ("4.") >= 0){
// Check to see if it is IE 4
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else {
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
}
}
else if (navigator.appName == "Netscape") {
// Check to see if browser is Netscape
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
}
else
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
//-->
</script>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub Window_OnLoad()
Dim frmContents
On Error Resume Next
If Not Parent Is Nothing Then
Set frmContents = Parent.Contents
If Not frmContents Is Nothing Then
frmContents.Window.TOCSynch_Click
End If
End If
End Sub
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
<META NAME="MS.LOCALE" CONTENT="EN-US">
<META NAME="MS-IT-LOC" Content="Internet Information Services">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H2><A NAME="_k2_choosing_the_client_networking_library_for_ado"></A><SUP></SUP>Choosing the Client Networking Library for ADO</H2>
<P>When ADO communicates with a database it does so through a networking library. Your selection of a networking library will be determined by the data provider and system configuration, and can have a significant impact on database access speed. For example, if you are accessing data from a Microsoft SQL Server database your access speed, in general, will be faster if you use the TCP/IP networking library. However, if SQL Server is running on the same computer as IIS, you may find some performance improvements by using the Named Pipes networking library.</P>
<P>You can set the networking library for a DSN by using the <B>Data Sources (ODBC)</B> option in Control Panel. Once you set a library for one connection, it will become the default library for all subsequent connections, as well as for any DSN-less connections that your application may use.</P>
<P><span class=le><B>Note&nbsp;&nbsp;&nbsp;</B></span>If you change the network library from Named Pipes to TCP/IP, be sure not to remove Named Pipes as one of the options, because SQL Server Enterprise Manager relies on this library.</P>
<hr class="iis" size="1">
<p align="center"><em><a href="../../../common/colegal.htm">&copy; 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
</BODY>
</HTML>