问一个让我闹心很久的问题。
我装的是一个英文系统,数据库装的是SQLEXPR英文但是SQLServer2005_SSMSEE中文,结果不能用。
我又卸载了SSMSEE,但是用360卸载的时候,用了强力删除,结果破坏了数据库,又重新安装。
现在SQLEXPR和SSMSEE都装了英文的,却连接不上数据库,不知道为什么。我的连接字符串应该是正确的。
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)请高手明示。还有,在利用数据库控件SqlConnection连接数据库,新建连接的时候,看不到本机的数据库名