我已将我的应用程序部署到我的客户。会发生什么是我测试了我的应用程序在4个不同的计算机,并完美,但不是在我的客户计算机。未指定错误sqlcese40.dll
我在使用SQL Compact的代码中使用.NET Framework 4.0,并且客户安装了.NET Framework 4.7。为了防万一,我还在他的电脑中安装了SQL Compact。
当我在我的应用程序点击.exe文件显示与以下文本的弹出错误:
System.Data.SqlServerCe.SqlCeException (0x80004005): Error not specified [ sqlcese40.dll ]
in System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr)
in System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent)
in System.Data.SqlServerCe.SqlCeConnection.Open()
in LongStoryShort.LoadAllByItems(String[] columns)
连接到数据库时,所以发生错误。任何线索我错过了什么?