我有一个新安装的SQL Server 2008 R2 Express。我试图运行SQLCMD
本地(请注意本地),但我收到的错误:Microsoft SQL Server Native Client 10.0登录超时过期
Named Pipes Provider: Could not open a connection to SQL Server [2]
Sqlcmd: Error: Microsoft SQL Serve Native Client 10.0 : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more informations see SQL Server Books Online..
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0: Login timeout expired.
为什么我不能使它工作吗?我已经尝试了一切。
说你试过一切并不是那么有用。我们需要知道一些具体的东西:它是SQL Server的默认实例吗?你的连接字符串是什么样的?等等。你的主要问题是你没有在第一时间找到服务器...... – 2013-02-11 15:33:20
服务器实例是SQLEXPRESS。我配置了TCPIP。我检查了服务正在运行。我启动了SQL BRowser。仍然SQLCMD不起作用。 – 2013-02-11 15:37:49
连接字符串是什么样的? – 2013-02-11 15:40:13