windows形成本地数据库

时间:2017-09-23 19:48:09

标签: .net winforms mdf local-database

使用.net创建了一个非常简单的Windows窗体应用程序,并连接到本地MDF文件以进行基本的CRUD操作。这一切都在我的电脑上按预期工作。

我已将此应用程序传递给朋友进行测试(非开发机器)并且运行它时遇到问题..

System.Data.SqlClient.SqlException (0x80131904): 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: 52 - 
Unable to locate a Local Database Runtime installation. Verify that SQL
Server Express is properly installed and that the Local Database 
Runtime feature is enabled.) ---> 

我认为他们还需要安装SQL Express才能使其正常工作吗?

0 个答案:

没有答案