如何解决 sql server 2000 中的连接问题-----外文翻译.doc

约14页DOC格式手机打开展开

如何解决 sql server 2000 中的连接问题-----外文翻译,this article can help you to resolve connectivity problems with microsoft sql server 2000. this article contains descriptions of common connectivity problems an...
编号:16-212133大小:82.00K
分类: 论文>外文翻译

内容介绍

此文档由会员 wanli1988go 发布

This article can help you to resolve connectivity problems with Microsoft SQL Server 2000. This article contains descriptions of common connectivity problems and the steps that you can take to help resolve your connectivity problems.
SQL Server 2000 supports several methods of communication between the instance of SQL Server and the client applications. If your client application and the instance of SQL Server reside on the same computer, Microsoft Windows interprocess communication (IPC) components, such as local named pipes or the Shared Memory protocol, are used to communicate. However, when the client application and the instance of SQL Server reside on different computers, a network IPC, such as TCP/IP or named pipes, is used to communicate.
SQL Server 2000 uses Net-Library, a DLL, to communicate with a particular network protocol. A matching pair of Net-Libraries must be active on the client computer and the server computer to support the network protocol that you want to use. For example, if you want to enable a client application to communicate with a specific instance of SQL Server across TCP/IP, the client TCP/IP Sockets Net-Library (Dbnetlib.dll) must be configured to connect to the server on the client computer. Likewise, the server TCP/IP Sockets Net-Library (Ssnetlib.dll) must listen on the server computer. In this scenario, the TCP/IP protocol stack must be installed on both the client computer and the server computer.
After you install SQL Server 2000, you can configure the properties of the client Net-Libraries by using Client Network Utility. You can configure the properties of the server Net-Libraries by using Server Network Utility (Svrnetcn.exe). The server Net-Libraries are installed during the installation of the server tools in SQL Server Setup. However, some of the server Net-Libraries may not be active. By default, SQL Server 2000 enables and listens on TCP/IP, named pipes, and Shared Memory. Therefore, for a client to connect to a server computer, the client must connect by using a client Net-Library that matches one of the server Net-Libraries that is currently being used by the instance of SQL Server.
For additional information about SQL Server communication components and Net-Libraries, see the following topics in SQL Server Books Online:
• Communication Components
• Client and Server Net-Libraries
• Managing Clients



这一篇文章能帮助你解决微软 SQL 伺候器 2000 的连接性问题。这一篇文章包含你能拿帮助解决你的连接性问题的通常连接性问题和步骤的描述。
SQL Server的例证和客户端申请之间的沟通的 SQL Server 2000 支持一些方法。如果你的客户申请和SQL Server的例证在相同的计算机上住, Microsoft Windows 处理之间的沟通 (IPC) 成份(像是当地的命名管或者被分享的记忆记录)用来沟通。 然而, 当客户端申请和SQL Server的例证在不同的计算机,网络IPC(像是TCP/IP上住的时候或者命名管道)用来沟通。
SQL Sever 2000 使用网络控件库(一个DLL)与一个特别的网络记录沟通。 一双相配网络控件库一定在客户计算机和服务器计算机上是活跃的支援你想要使用的网络记录。 举例来说,如果你想要使一个客户申请能够与通过TCP/IP的一个 SQL Server的特定例证沟通, 客户TCP/IP套接字网络控件库 (Dbnetlib.dll) 一定配置成在客户计算机上对伺候器连接。 同样地, 服务器TCP/IP套接字网络控件库 (Ssnetlib.dll) 一定在伺候器计算机上听。 在这一个情节中, TCP/IP协议堆栈一定是装置在客户计算机和服务器计算机。
在你安装SQL Server 2000 之后,你能配置客户端网络的特性使用客户端网络公用程序的网络库属性。你能配置服务器网络的特性使用服务器网络公用程序(Svrnetcn.exe)的网络控件库属性。在安装 SQL Server 安装程序中的服务器工具期间,服务器的网络库也被同时安装了。然而,一些服务器的网络库可能不是激活的。如此,SQL Server 2000 启用并侦听 TCP/IP、命名管道和共享内存。因此,让一个客户端对一部服务器计算机连接,客户端一定使用一个客户端网络库,该网络库匹配与SQL Server实例正在使用的服务器网络库之一。
对于关于SQL Server通讯部件和网络库的其它信息,请参见“SQL Server 在线参考书”中的下列主题:
• 通信部件
• 客户端和服务器网络库
• 管理客户端