错误“无法保存;目前被其他用户锁定。“ [英] Error "Could not save; currently locked by another user."

查看:100
本文介绍了错误“无法保存;目前被其他用户锁定。“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一个应用程序使用VB6和Access97数据库。另一个应用程序

使用VB.NET 2005.

今天早上大约15秒,当应用程序尝试读取

a查询或来自数据库,在VB6和VB.NET中都是
应用程序,我得到错误Microsoft Jet数据库引擎找不到

输入表或查询''myTable ''。确保它存在并且其名称

拼写正确。另外,我得到错误Microsoft Jet数据库

引擎无法找到输入表或查询''myQuery''。确保它存在

并且其名称拼写正确。所有表格都出现错误

和所有查询。

此外,VB.NET应用程序(使用OLEDB)在尝试打开

表无法保存;目前被另一个用户锁定。

然后,在15秒左右之后,一切都恢复正常。


什么会导致上述错误?为什么它不能识别现有的

表和查询大约15秒?


谢谢。

One of our application uses VB6 and Access97 database. Another application
uses VB.NET 2005.
This morning for about 15 seconds when the application tries to read either
a query or a table from the database, in in both VB6 and VB.NET
applications, I got the error "The Microsoft Jet database engine cannot find
the input table or query ''myTable''. Make sure it exists and that its name
is spelled correctly." Also, I got the error "The Microsoft Jet database
engine cannot find the input table or query ''myQuery''. Make sure it exists
and that its name is spelled correctly." The error happens to all the tables
and all the queries.
Also, the VB.NET application (uses OLEDB) got an error when trying to open a
table "Could not save; currently locked by another user."
Then, after the 15 seconds or so, everything worked fine again.

What would cause the above errors ? Why couldn''t it recognize the existing
tables and queries for about 15 seconds ?

Thank you.

推荐答案

有没有人修改表本身 - 或者让表格在设计中打开

模式可以访问?

访问会锁定mdb文件就像我相信的那样。


可能是一个很好的测试 - 记录所有人 - 进入访问并打开

文件,abnd a表,然后尝试运行你的程序。

有人可能无意中通过微软的单词或

对你的桌子运行了什么东西?

" fniles" < fn **** @ pfmail.com在留言中写道

新闻:eR ************** @ TK2MSFTNGP04.phx.gbl ...
Was anyone modifying the table itself - or had the table opend up in design
mode with access?
Access would lock the mdb file on you like that I believe.

Might be a good test - log everyone out - go into access and open up the
file, abnd a table and then try to run your program.
Someone may have inadvertantly run something thru microsoft word or
something against your table?
"fniles" <fn****@pfmail.comwrote in message
news:eR**************@TK2MSFTNGP04.phx.gbl...

我们的一个应用程序使用VB6和Access97数据库。另一个应用程序

使用VB.NET 2005.

今天早上大约15秒,当应用程序试图读取

查询或表从数据库中,在VB6和VB.NET两个
应用程序中,我得到了错误Microsoft Jet数据库引擎无法找到输入表或查询'
'' mytable的 ''。确保它存在且其

名称拼写正确。另外,我收到错误Microsoft Jet

数据库引擎无法找到输入表或查询''myQuery''。确保

它存在并且其名称拼写正确。所有表和所有查询都出现错误。

此外,VB.NET应用程序(使用OLEDB)在尝试打开时出错

a table无法保存;目前被另一个用户锁定。

然后,在15秒左右之后,一切都恢复正常。


什么会导致上述错误?为什么它不能识别现有的

表和查询大约15秒?


谢谢。

One of our application uses VB6 and Access97 database. Another application
uses VB.NET 2005.
This morning for about 15 seconds when the application tries to read
either a query or a table from the database, in in both VB6 and VB.NET
applications, I got the error "The Microsoft Jet database engine cannot
find the input table or query ''myTable''. Make sure it exists and that its
name is spelled correctly." Also, I got the error "The Microsoft Jet
database engine cannot find the input table or query ''myQuery''. Make sure
it exists and that its name is spelled correctly." The error happens to
all the tables and all the queries.
Also, the VB.NET application (uses OLEDB) got an error when trying to open
a table "Could not save; currently locked by another user."
Then, after the 15 seconds or so, everything worked fine again.

What would cause the above errors ? Why couldn''t it recognize the existing
tables and queries for about 15 seconds ?

Thank you.


2008年9月10日星期三09:49:59 -0500,fniles < fn **** @ pfmail.comwrote:

$ b $b¤我们的一个应用程序使用VB6和Access97数据库。另一个应用程序
$ b $b¤使用VB.NET 2005.
$ b $b¤今天早上大约15秒,当应用程序试图读取
$ b $b¤一个查询或者来自数据库的表,在VB6和VB.NET中都有b $b¤应用程序,我得到错误微软Jet数据库引擎找不到
$ b $b¤输入表或查询''myTable''。确保它存在并且其名称
$ b $b¤拼写正确。另外,我得到错误Microsoft Jet数据库
$ b $b¤引擎找不到输入表或查询''myQuery''。确保它存在
$ b $b¤并且其名称拼写正确。所有表格都出现错误
$ b $b¤和所有查询。
$ b $b¤此外,VB.NET应用程序(使用OLEDB)在尝试打开<时出错
$ b $b¤表无法保存;目前被另一个用户锁定。
$ b $b¤然后,在15秒左右之后,一切都恢复正常。
$ b $b¤
$ b $b¤什么会导致上述错误吗?为什么它不能识别现有的
$ b $b¤表和查询大约15秒?


这是一个位于网络上的多用户数据库还是它是本地

机器上的单个用户数据库吗?

Paul

~~~~

Microsoft MVP (Visual Basic)
On Wed, 10 Sep 2008 09:49:59 -0500, "fniles" <fn****@pfmail.comwrote:

¤ One of our application uses VB6 and Access97 database. Another application
¤ uses VB.NET 2005.
¤ This morning for about 15 seconds when the application tries to read either
¤ a query or a table from the database, in in both VB6 and VB.NET
¤ applications, I got the error "The Microsoft Jet database engine cannot find
¤ the input table or query ''myTable''. Make sure it exists and that its name
¤ is spelled correctly." Also, I got the error "The Microsoft Jet database
¤ engine cannot find the input table or query ''myQuery''. Make sure it exists
¤ and that its name is spelled correctly." The error happens to all the tables
¤ and all the queries.
¤ Also, the VB.NET application (uses OLEDB) got an error when trying to open a
¤ table "Could not save; currently locked by another user."
¤ Then, after the 15 seconds or so, everything worked fine again.
¤
¤ What would cause the above errors ? Why couldn''t it recognize the existing
¤ tables and queries for about 15 seconds ?

Is this a multi-user database located on a network or is it a single user database on a local
machine?
Paul
~~~~
Microsoft MVP (Visual Basic)


这是一个位于网络上的多用户数据库。


" Paul Clement" <我们*********************** @ swspectrum.com写信息

新闻:m8 ******* ************************* @ 4ax.com ...
It''s a multi user database located on a network.

"Paul Clement" <Us***********************@swspectrum.comwrote in message
news:m8********************************@4ax.com...

周三,2008年9月10日09:49:59 -0500,fniles < fn **** @ pfmail.comwrote:

$ b $b¤我们的一个应用程序使用VB6和Access97数据库。另一个

应用程序
$ b $b¤使用VB.NET 2005.
$ b $b¤当应用程序尝试阅读时,今天早上大约15秒

要么是b
来自数据库的查询或表,在VB6和VB.NET中都有$ b $b¤应用程序,我收到错误微软Jet数据库引擎无法找到
$ b $b¤输入表或查询''myTable''。确保它存在并且其

名称
$ b $b¤拼写正确。另外,我得到错误Microsoft Jet数据库
$ b $b¤引擎找不到输入表或查询''myQuery''。确保

存在
$ b $b¤并且其名称拼写正确。所有的问题都发生在所有的b $ b表和所有查询中。
$ b $b¤另外,VB.NET应用程序(使用OLEDB)得到了当试图打开一个
$ b $b¤表时出错无法保存;目前被另一个用户锁定。
$ b $b¤然后,在15秒左右之后,一切都恢复正常。
$ b $b¤
$ b $b¤什么会导致上述错误吗?为什么它不能识别

现有的
$ b $b¤表和查询大约15秒?


这是多 - 用户数据库位于网络上还是单个用户

数据库在本地

机器上?


Paul

~~~~

Microsoft MVP(Visual Basic)
On Wed, 10 Sep 2008 09:49:59 -0500, "fniles" <fn****@pfmail.comwrote:

¤ One of our application uses VB6 and Access97 database. Another
application
¤ uses VB.NET 2005.
¤ This morning for about 15 seconds when the application tries to read
either
¤ a query or a table from the database, in in both VB6 and VB.NET
¤ applications, I got the error "The Microsoft Jet database engine cannot
find
¤ the input table or query ''myTable''. Make sure it exists and that its
name
¤ is spelled correctly." Also, I got the error "The Microsoft Jet database
¤ engine cannot find the input table or query ''myQuery''. Make sure it
exists
¤ and that its name is spelled correctly." The error happens to all the
tables
¤ and all the queries.
¤ Also, the VB.NET application (uses OLEDB) got an error when trying to
open a
¤ table "Could not save; currently locked by another user."
¤ Then, after the 15 seconds or so, everything worked fine again.
¤
¤ What would cause the above errors ? Why couldn''t it recognize the
existing
¤ tables and queries for about 15 seconds ?

Is this a multi-user database located on a network or is it a single user
database on a local
machine?
Paul
~~~~
Microsoft MVP (Visual Basic)



这篇关于错误“无法保存;目前被其他用户锁定。“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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