如何使用sql ce作为数据库部署应用程序。 [英] How to deploy an applicatiin with sql ce as database.

查看:124
本文介绍了如何使用sql ce作为数据库部署应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用sql ce作为数据库在vb .net上开发了一个应用程序,它可以在我的开发PC上运行良好但是当部署包含dll时只是作为文件,它会在目标pc上创建连接时引发异常。例外是:

尝试读取或写入受保护的内存,这通常表明其他内存已损坏。



任何人都可以参考我指导或说明了使用安装项目部署我的应用程序的步骤。

I have developed an application on vb .net using sql ce as database it works fine on my development pc but when deployed with including dlls simply as file it throws an exception while creating a connection on the target pc. the exception is:
Attempted to read or write protected memory this is often an indication that other memory is corrupted.

Can anyone please refer me guide or illustrate steps for deploying my application using a setup project.

推荐答案

Sql CE有一个MSI安装程序包,您需要先在目标计算机上安装它然后再运行你的申请。
Sql CE has a MSI installer package which you need to install on the target machine first before running your application.


http: @erhj = .blogspot.in/2011/02 -sql-server-compact-40-with.htmltarget =_ blanktitle =新窗口> ^ ]

这个链接帮助了我。
http://erikej.blogspot.in/2011/02/using-sql-server-compact-40-with.html[^]
This link helped me.


这篇关于如何使用sql ce作为数据库部署应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆