473,766 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2690
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******@hotma il.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******@NOyah oo.SPAMcom> wrote in message
news:#M******** ******@TK2MSFTN GP10.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******@NOyah oo.SPAMcom> wrote in message
news:#M******** ******@TK2MSFTN GP10.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******@NOyah oo.SPAMcom> wrote in message
news:ef******** ******@TK2MSFTN GP11.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
2311
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 migrate the backend database from MS Access 2000 to MS SQL Server 2000. However, I want to keep the MS Access 2000 interface. Would it be possible?
2
2430
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. But I was under the Impression that Access 2000, could be redistributed using Install Shield 7 and that it would not effect the workstations current status. My Current senario is:
3
2492
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 purchased Access 2000 for their computer. We are now being told that they will not be able to view, or make entries, queries because Access 2000 is not compatible with Access 97 and the workgroup will not allow two versions of Access to be...
2
1349
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 may want to reverse, it seems to screw up the code for the whole database. This seems to be caused by some sort of conflict between the code for the two identical forms. Obviously, if one doesn't have a recent backup, they have a major problem on...
7
4199
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 code for 6 hours and stops. I've found the problem to be the Set MySession = CreateObject("MAPI.Session")
11
2269
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 PC and other computers (both Win2k and WinXP). After a lot of testing I found that if the database was opened by Access 2.0 (or a VB3 16 bit application), and then subsequently a Access 2000 (or VB6 32 bit application) opened the database, then...
47
4544
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 company and this is a big decision for us(!) It's not just the money it's committing to an new version of Access!
9
4468
by: MM | last post by:
And Access 2000 et seq 32 bit? MM
17
2496
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 thousand items and the accounting side will be used for hopefully many years so the entries are likely to be vast. The delema is what is best to use ase the DB engine, Access I have as part of Office 2002 or should I really be looking at SQL...
13
2678
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 records in one front end and leave it unsaved. Edit the same record in the other front end and save the change. Save the change in the first front end - this pops up the Write Conflict message to which I click Save.
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9404
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10168
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10008
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8833
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6651
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3929
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.