level 2
蓝色云舞阳
楼主
自己把电脑上的sql2008 卸载 重新安装sql2012 后 ,vs2013上的localdb 就不能使用了,,
错误信息“SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: SQL Network Interfaces, error: 56 - 无法从注册表中指定的位置加载 SQLUserInstance.dll。请验证 SQL Server Express 的 Local Database Runtime 功能是否正确安装。)
在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)
”。。。。。
有大神知道的吗?谢谢啦 ,,自己弄了好久都没成功,,好像 error 56 这个错误大家很少出现
2016年01月21日 13点01分
1
错误信息“SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: SQL Network Interfaces, error: 56 - 无法从注册表中指定的位置加载 SQLUserInstance.dll。请验证 SQL Server Express 的 Local Database Runtime 功能是否正确安装。)
在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)
”。。。。。
有大神知道的吗?谢谢啦 ,,自己弄了好久都没成功,,好像 error 56 这个错误大家很少出现