创建安装后访问数据库是只读的! [英] Access database after created setup be read only !

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

问题描述

嗨伙计们,



i创建访问数据库并放入Debug文件夹...

然后创建安装文件(使用instalsheild 2010)并安装在其他PC上,

对接数据库是只读的,程序发送错误时CRUD!



如何解决这个问题?

谢谢。

hi guys,

i create access database and put in Debug folder ...
then create setup file (with instalsheild 2010) and install in other PC ,
butt database is read only and program send error when CRUD !

how to right this problem ?
thanks .

推荐答案

如果您要安装到Program Files并且您不是管理员,那么该文件夹及其下的任何内容都将被读取-only。



安装到另一个文件夹,即c:\ appname
If you are installing to "Program Files" and you are not an administrator then that folder and anything under it will be read-only.

Install to another folder i.e. c:\appname


可能是你放置文件的位置。

你有可能把它放在应用程序文件夹中,这意味着它通常不可写。



看看这里:我应该在哪里存储我的数据? [ ^ ] - 它建议一些更合适的位置。
Probably, it's where you put the file.
Chances are you have put it in the application folder, which means it isn't normally writable.

Have a look here: Where should I store my data?[^] - it suggests some more suitable locations.


这篇关于创建安装后访问数据库是只读的!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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