Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Blim #1
Access ldb file not removed
A script I have created leaves an Access ldb file on the server after it has
run, and I am worried that this meand that resources are not being released.
I am using asp to read data from an Access database to populate some menus.
The asp script uses ADO to read three recordsets, each of which is then closed
and the recordset objects set to Nothing. After running the script, an ldb file
is left on the server (the mdb file is Menus.mdb, the created file is
Menus.ldb). I understand why the ldb file is created: it's a file locking table
and Access creates one whenever data is accessed. However, I thought that the
ldb file would be removed after all the relevant objects had been closed.
The recordsets use a connection string, in statements of the format:
rstMenu1.ActiveConnection = cnnMenus
where cnnMenus is the connection string to the Menus mdb. I don't create a
connection object as such, so I don't have anything to close. Is there a
connection object created for me? If so, how do I close it and will that get
rid of the ldb file?
Thanks
Ian
Blim Guest
-
user cannot save draft - lock file removed
One of our clients (who has a few problems with Contribute already, for various reasons) contacted me with this error he recieved: I attempted to... -
Network File access using anonymous access
I have seen a number of entries related to accessing remote resources (files in my case) that need to reside on a remote server. We must leave our... -
Help needed with ASP form browse for file, create link to file and insert in access database
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then... -
OE removed access to the following unsafe attachments
I recently had my Hard drive replaced and lost everything on the old one, so within the last few days I have put back all of my old programs... -
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY?
Hi. This is an error that comes up fairly regularly when trying to run the "Rebuild All" command in a Solution that contains more than one... -
-
Blim #3
Re: Access ldb file not removed
Hi Speegs,
The server in question is my laptop, running IIS. This gets rebooted quite a
lot, but the problem remains. I can get rid of the ldb by opening the mdb in
Access, then closing Access. If I then run my asp script the ldb returns.
Ian
Blim Guest



Reply With Quote

