我剛剛安裝了SQL Server Express 2008 R2,並且在使用SQL Server Management Studio(本地)連接到它時遇到問題。無法連接到本地SQL Server Express 2008 R2
所有SQL Server服務的啓動(SQL服務器(SQLEXPRESS),SQL Server瀏覽器,也DTC服務)
當我嘗試連接,我得到了以下信息:
TITLE: Connect to Server
Cannot connect to (local).
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
嘗試連接到任何你的機器名稱,而不是本地......它似乎有點高音ey有時 – forsvarir 2011-05-14 13:02:10
答案:在服務器名稱字段中,我從'(本地)'切換到'[Comp-Name] \ SQLEXPRESS' – 2011-05-14 13:05:31