创建安装程序后无法更新数据库 [英] Can not update database after creating setup

查看:61
本文介绍了创建安装程序后无法更新数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用ms访问数据库创建了一个应用程序,并创建了它。我能够读取数据库但是当我尝试更新数据库时它会给我一个错误。它阻止我更新数据库。如何使数据库允许更新和更改?任何人都可以指导我吗?在此先感谢...

I have created an application with ms access database and also created setup of it. I am able to read the database but when i try to update the database it gives me an error. It prevents me to update the database. How to enable the database to allow update and changes? any one can please guide me? Thanks in advance...

推荐答案

如果您将应用程序安装到Program Files目录(以及数据库),那么它将是只读的。您应该将数据库安装到Program Data目录而不是Program Files。
If you install your application to the Program Files directory (along with the database) then it will be read-only. You should install the database to the Program Data directory instead of Program Files.


这篇关于创建安装程序后无法更新数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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