开发者

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

开发者 https://www.devze.com 2022-12-09 16:19 出处:网络
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 (开发者_JAVA百

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 (开发者_JAVA百科SQL Ce). He does have 3.5 version of .NET. In the publish options, prerequisities, there is SQL CE and .NET 3.5 SP1 checked. 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"? Thank you!


If you copy 'sqlceme35.dll' to your bin folder it should work.

See this blog for more information: 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? Shouldn't be needed unless it's a mobile app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号