Re: How are .ldb files unloaded
- From: "AK" <nospam@xxxxxxxxxxx>
- Date: Sun, 19 Nov 2006 06:51:32 -0600
Bob,
Tracked down the problem. File permissions were OK, but it was that there
was an instantiation of a form object (so as to get its name property), and
when that instantiation was done it opened the connections that that
particular form had. So, even though the form had been unloaded and its
connection set to nothing, the instantion was enough to do enough of the
same thing as a load!
AK
"Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote in message
news:evXYTJOCHHA.4892@xxxxxxxxxxxxxxxxxxxxxxx
AK wrote:
Bob,
Thanks!
Here is my connection string.
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Password=MyPassword;User ID=MyUserId;" & _
"Data Source=" & My_DatabasePath & ";" & _
"Jet OLEDB:Engine Type=5;" & _
"Jet OLEDB:Database Password=MyDataBasePassword;" & _
"Persist Security Info=True;" & _
"Jet OLEDB:System database=" &
My_DatabasePath_MDW_SecurityFilePath & ";" & _
"Jet OLEDB:Encrypt Database=True"
Are your saying that I need a Mode=ReadWrite somewhere in here?
No. Your connection string is irrelevant. File system permissions are
required
This is probably a permissions problem. All users of the database
file must have read/write permissions for the _folder_ containing
the file. The ldb file needs to be created under the context of the
first user to open the database, modified under the contexts of
subsequent users, and deleted under the context of the last user to
exit the database.
Keep in mind that with OLEDB session pooling, connections are kept
open for 60 sec. enabling their re-use.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- How are .ldb files unloaded
- From: AK
- Re: How are .ldb files unloaded
- From: Bob Barrows [MVP]
- Re: How are .ldb files unloaded
- From: AK
- Re: How are .ldb files unloaded
- From: Bob Barrows [MVP]
- How are .ldb files unloaded
- Prev by Date: Re: Locks and ADO
- Next by Date: Indexing of Connections
- Previous by thread: Re: How are .ldb files unloaded
- Next by thread: Re: URGENT !!! Operation must use an updateable quary
- Index(es):
Relevant Pages
|
|