當我轉到Visual Studio 2005中的「添加新項目」窗口並嘗試添加一個SQL數據庫時,它會掛起一點,然後出現以下錯誤:使用Visual Studio創建SQL數據庫並添加到項目
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: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
我可以使用SQL Server Management Studio連接到localhost(默認實例),但是Visual Studio必須嘗試連接到另一個實例(不再運行)。如何更改嘗試連接的實例以添加和使用數據庫?
我正在運行SQL Server 2005 Express – 2009-04-21 18:23:11
最大:你肯定服務正在運行嗎? – TheTXI 2009-04-21 18:24:19
我可以連接使用SQL Server Management Studio – 2009-04-21 18:27:11