简体   繁体   English

客户端无法运行.NET应用,版本正确。

[英]Client could not run .NET app, has right version..advice please

I have created and deployed simple DB app and sent it to my client (the whole directory that Publish generates). 我已经创建并部署了简单的数据库应用程序,并将其发送到我的客户端(发布生成的整个目录)。 On my PC it is OK but he gets messages like " sqlceme35.dll" is missing (SQL Ce). 在我的PC上可以,但是他收到类似“ sqlceme35.dll”的消息(SQL Ce)。 He does have 3.5 version of .NET. 他确实具有3.5版的.NET。 In the publish options, prerequisities, there is SQL CE and .NET 3.5 SP1 checked. 在发布选项(先决条件)中,检查了SQL CE和.NET 3.5 SP1。 Please could you advice me? 你能给我建议吗?

UPDATE: Now I can see there is a problem with path to local DB, is it correct to have its Build action to "content"? 更新:现在我可以看到本地数据库的路径存在问题,将其Build操作设置为“内容”是否正确? Thank you! 谢谢!

If you copy 'sqlceme35.dll' to your bin folder it should work. 如果将“ sqlceme35.dll”复制到bin文件夹中,它将正常工作。

See this blog for more information: http://blogs.msdn.com/sqlservercompact/archive/2007/10/26/can-t-find-p-invoke-dll-sqlcemenn-dll.aspx 有关更多信息,请参见此博客: http : //blogs.msdn.com/sqlservercompact/archive/2007/10/26/can-t-find-p-invoke-dll-sqlcemenn-dll.aspx

If you aren't using CE ME, remove the prerequisite and reference? 如果您不使用CE ME,则删除先决条件和参考吗? Shouldn't be needed unless it's a mobile app. 除非它是移动应用程序,否则不需要。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .Net 2.0 winforms客户端应用程序可以连接到Windows Server .Net 3.5 WCF服务吗? - 需要建筑建议 - Can a .Net 2.0 winforms client app connect to a Windows Server .Net 3.5 WCF service? - architectural advice needed 构建ac#应用程序(CF .NET 3.5)的正确方法,我需要建议 - The right way to build a c#'s app (CF .NET 3.5), i need advice 如何确定运行我的应用程序所需的最小.NET框架版本 - How to determine the minimal required .NET framework version to run my app 在 .net 核心 3.1 应用程序中获取“无法加载文件或程序集”,而文件存在且具有正确的公共令牌密钥 - Getting "Could not load file or assembly" in .net core 3.1 app while file is there with right public token key 发布后尝试运行应用程序时无法加载文件或程序集 Microsoft.EntityFrameworkCore.Design 版本 6.0.1 - Could not load file or assembly Microsoft.EntityFrameworkCore.Design version 6.0.1 when trying to run app after publishing 如果客户端计算机没有使用与我编写应用程序相同或更高版本的.net,我的应用程序将运行或出现问题吗? - Will my application run or have problems if the client machine does not have a same/later version of .net that I coded the application with? .Net:无法从程序集“IBM.XMS.Client.WMQ,版本=8.0.0.7”加载类型“IBM.WMQ.ManagedCommonServices” - .Net : Could not load type 'IBM.WMQ.ManagedCommonServices' from assembly 'IBM.XMS.Client.WMQ, Version=8.0.0.7 WCF客户端可伸缩性建议 - WCF Client scalability advice 寻找有关在.Net WPF App中嵌入报表模板工具的建议 - Looking for advice regarding embedding a report template facility in .Net WPF App 有关新项目的建议:现有ASP.NET应用程序的其他功能 - Advice on new project: additional functionality into existing ASP.NET app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM