在我开发的电脑装了全套的SQL开发软件和C#,软件开发完成后,数据库文件和开发出来的软件放到别的电脑上,且安装了sql server 2014 express localdb有的电脑就可以直接使用,有的电脑就报错26,求高人解答。。
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)
错误26说明本地没有正确安装localdb的运行库,从微软网站下载安装一个就可以了。
显示的已经正常安装了LOCALDB运行库。