我有一個新安裝的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