- If you use the Osql.exe command-line utility to connect to the local instance of SQL Server 2000, you receive the following error message:[DBNETLIB]SQL Server does not exist or access denied. [DBNETLIB]ConnectionOpen (Connect()).
- If you use the Sqlcmd.exe command-line utility to connect to the local instance of SQL Server 2005, you receive the following error message: HResult 0x34, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server . Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired.
- Use an alternative representation of the name of the local host address instead of "localhost". Possible alternative representations include the following:
- The actual local host name
- Use a different connection protocol, such as TCP/IP.
מזהה פריט: 929152 - סקירה אחרונה: 29 במרץ 2017 - תיקון: 3