Windows7上MSAccess中的OleDb异常 [英] OleDb Exception in MSAccess on Windows7

查看:109
本文介绍了Windows7上MSAccess中的OleDb异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在Windows7上使用MSAccess的VB.Net中出现以下错误.
仅在更新,插入和删除数据时才会引发异常.虽然相同的代码在Windows XP上可以正常运行
错误:
System.Data.OleDb.OleDbException:操作必须使用可更新的查询.

请帮助
Thanx in Advance.

Hi,

I got the following error in VB.Net with MSAccess on windows7.
It throws exception only while updating,inserting and deleting data. While the same code works fine on Windows XP
Error:
System.Data.OleDb.OleDbException:Operation must use an updatable Query.

Please Help
Thanx in Advance.

推荐答案

通常在访问mdb文件没有写许可权或只读时发生.必须存在某种权限问题.
It usually occurres when there is no write permission on the access mdb file or it is readonly. There must be some sort of permission issue.


这篇关于Windows7上MSAccess中的OleDb异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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