473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

ASP/Access 2000 problem

I've got a site that uses ASP pages to make simple
connections to an Access 2000 database. The site has been
fine for the past few months. Last night I browsed to an
ASP page, and for some reason an .ldb file got created on
the server, and now none of the pages can connect to the
database. I've tried a compact/repair on the db, I've
even created a new database and imported all the files
into it, but that one did the same thing. Any ideas on
why this is happening or how to fix it? Thanks.
Jul 19 '05 #1
6 2680
Okie dokie.. This is an interesting one.. There is a
fairly simple query (has about 2 joins in it, otherwise
very simple) I had created that bombs out Access. I tried
running this on my desktop and it gave me an "Access has
encountered an error and must be shut down" error. Never
seen that before...
-----Original Message-----
I've got a site that uses ASP pages to make simple
connections to an Access 2000 database. The site has beenfine for the past few months. Last night I browsed to an
ASP page, and for some reason an .ldb file got created onthe server, and now none of the pages can connect to the
database. I've tried a compact/repair on the db, I've
even created a new database and imported all the files
into it, but that one did the same thing. Any ideas on
why this is happening or how to fix it? Thanks.
.

Jul 19 '05 #2
An LDB file is a temporary file that is created when "something" has
the MDB file open. When the MDB file is closed the LDB file
disappears.

For example:
If you open the file in Access, an LDB file is created. At this point
there are no adverse effects. But if you open one of the Tables from
within Access then none of the Web pages that need that Table will
work until you close the Table. You may continue to keep the MDB file
open in Access, that by itself won't cause a problem.

If you apply this concept to your situation you may find the source of
the problem.

--

Phillip Windell [CCNA, MVP, MCP]
pw******@wandtv.com
WAND-TV (ABC Affiliate)
www.wandtv.com

"Brent" <ra******@hotmail.com> wrote in message
news:04****************************@phx.gbl...
I've got a site that uses ASP pages to make simple
connections to an Access 2000 database. The site has been
fine for the past few months. Last night I browsed to an
ASP page, and for some reason an .ldb file got created on
the server, and now none of the pages can connect to the
database. I've tried a compact/repair on the db, I've
even created a new database and imported all the files
into it, but that one did the same thing. Any ideas on
why this is happening or how to fix it? Thanks.

Jul 19 '05 #3
Phillip Windell wrote:
An LDB file is a temporary file that is created when "something" has
the MDB file open. When the MDB file is closed the LDB file
disappears.
Minor correction:
The first user that opens the database (non-exclusively) needs to be able to
create the ldb file. Subsequent users need to be able to write to the ldb
file to add their names to the list of current users in the file. As each
user closes the database, he needs to be able to remove his name from the
list of current users in the ldb file. The last person who closes the
database, even if it's not the person who originally opened the database and
created the ldb file, needs to be able to delete the ldb file. This is why
all database users (including IUSR_machine) need read/write authority to the
folder containing the mdb file, if you need the database to support
multi-user activity.

If the ldb file cannot be created, then the database is opened exclusively,
and sometimes, read-only.

For example:
If you open the file in Access, an LDB file is created. At this point
there are no adverse effects. But if you open one of the Tables from
within Access then none of the Web pages that need that Table will
work until you close the Table.


?
That hasn't been my experience. As long as IUSR has read/write authority to
the folder containing the mdb file, it should be able to access any table in
the database unless a lock is present. Having the table open in a datasheet
in Access does not lock the table ...

Just in case, I just tried it. As expected, the asp page had no problems
writing to a table that I had open in Access.

Bob Barrows
Jul 19 '05 #4
"Bob Barrows" <re******@NOyahoo.SPAMcom> wrote in message
news:#M**************@TK2MSFTNGP10.phx.gbl...
That hasn't been my experience. As long as IUSR has read/write authority to the folder containing the mdb file, it should be able to access any table in the database unless a lock is present. Having the table open in a datasheet in Access does not lock the table ...


(Aside from my typos, ..sorry) What I have had happen is the MDB file
was directly opened using Access on the server. It opens under the
authority of the currently locally logged on user (not IUSR). While it
is open I open a browser on another machine and go to the site. As
long as I didn't actually open a table in Access all was well, but if
I opened a Table the Site couldn't do anything with the database
involving the same Table until I closed the Table in Access.

--

Phillip Windell [CCNA, MVP, MCP]
pw******@wandtv.com
WAND-TV (ABC Affiliate)
www.wandtv.com
Jul 19 '05 #5
Phillip Windell wrote:
"Bob Barrows" <re******@NOyahoo.SPAMcom> wrote in message
news:#M**************@TK2MSFTNGP10.phx.gbl...
That hasn't been my experience. As long as IUSR has read/write
authority to the folder containing the mdb file, it should be able
to access any table in the database unless a lock is present. Having
the table open in a datasheet in Access does not lock the table ...


(Aside from my typos, ..sorry) What I have had happen is the MDB file
was directly opened using Access on the server. It opens under the
authority of the currently locally logged on user (not IUSR). While it
is open I open a browser on another machine and go to the site. As
long as I didn't actually open a table in Access all was well, but if
I opened a Table the Site couldn't do anything with the database
involving the same Table until I closed the Table in Access.


That was exactly the scenario I tested. The asp page had no problem updating
the table I had open in Access. I used an Update statement - I did not try
opening a recordset.

Bob Barrows
Jul 19 '05 #6
"Bob Barrows" <re******@NOyahoo.SPAMcom> wrote in message
news:ef**************@TK2MSFTNGP11.phx.gbl...
That was exactly the scenario I tested. The asp page had no problem updating the table I had open in Access. I used an Update statement - I did not try opening a recordset.


Ok,..well maybe it was the type of cursor I used?...dunno. But
anyway,...I think we answered his question about what was the LDB file
all about :)

--

Phillip Windell [CCNA, MVP, MCP]
pw******@wandtv.com
WAND-TV (ABC Affiliate)
www.wandtv.com
Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bon | last post by:
Hello all Would it be possible to migrate the MS Access 2000 to MS SQL Server 2000? My application is using MS Access 2000 as database and as user interface such as forms. Now, I want to...
2
by: Scott | last post by:
Any help would be grateful :-) Problem: When I test my installation of Access 2000 MDE, I get the following error: "Unrecognised Format".. This means that Access 97 cannot read Access 2000. ...
3
by: Pat | last post by:
We have a database with Access 97 as the front-end and SQL7 as the back end. It is on a network server and accessed by joining a MS Access Workgroup. We are trying to add a new user and have...
2
by: Wayne Aprato | last post by:
The following problem seems to manifest itself in Access 2000, but I have not experienced it with Access 97. When I make a duplicate of a form before I make design changes to that form that I...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
11
by: stu | last post by:
I have several databases that are opened using various versions of Access and VB. Up till recently everything worked fine, then I started getting a variety of lock file error messages, both on my...
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
9
by: MM | last post by:
And Access 2000 et seq 32 bit? MM
17
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a...
13
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.