473,385 Members | 1,359 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,385 software developers and data experts.

Cannot open database ". It may not be a database that your application recognizes

Sure this is a very common problem people have.
I'm using Access 2003 with front-end forms, 5 people log into the database most of the time and access the same table from the front-end forms. Now and again a record becomes corrupt and just shows "#error" or "#Delete" in all the fields and it can't be deleted. I first thought this could of been just a network error but it's happening to often. I then changed the layout of the table as it had a "memo" field which I have now taken out and put in it's own table and this table now doesnt' corrupt.

So I can only think it's down to the multi-users hammering the same table at the same time. Is there anything I can do to stop this, if it's to change the design of how everything works or anything else I can do to the database.
May 15 '15 #1
4 5223
NeoPa
32,556 Expert Mod 16PB
Some good ideas to use if you don't already :
  1. Ensure the database is split between Front End (FE) & Back End (BE).
    FE - Programming.
    BE - Database design and data.
  2. As much as possible, try to make sure users are local to both the FE & the BE.
    Network problems are the single most common reason for database corruptions.
    Local HDD is best - through rarely practicable.
    LAN is generally fine except where network hardware is poor.
    WAN or internet very regularly causes such issues.

    NB. RSCing into a remote system to run Access there is fine, even across the internet. The important thing is how far away the Access application is from the file rather than the user per se.
May 15 '15 #2
Stewart Ross
2,545 Expert Mod 2GB
As NeoPa said, network problems almost certainly. Access is not a client/server system, and if you have a look with a packet analyser such as Wireshark at network traffic to and from your PC when running Access you will see just how much data is transferred back and forth for even the most basic of tasks. If network access is interrupted for whatever reason DB corruption can result.

A few years ago I experienced such problems on an internal LAN running on VMware. A SAN cache controller failure led to intermittent occurrences of the SAN disconnecting momentarily (for less than a ms). The disconnection of the SAN from the network occurred when the cache controller was under load, which of course was when users were most active on the network in general. Result: corrupted A2003 DBs each time (and loads of users with Excel files open etc left with problems too!).

I was lucky most of the time, compact and repair could resolve the corrupt instances, but there were times the back-end DBs had to be restored from the previous day's network backup.

Anyway, network problems that directly affect traffic to and from the DB concerned are indeed the most likely cause of such issues.

-Stewart
May 16 '15 #3
To repair a corrupt .mdb database of MS Access, one can try Compact and Repair feature of MS Access. It repairs corrupt database and makes it accessible for database users. Other than this one can also use import feature of MS Access that helps database users import their corrupt database to a new database file.
May 29 '15 #4
The Microsoft provided Detect and Repair tool can be accessed from different locations in MS Access XP, MS Access 2003, and MS Access 2007. In MS Access XP and MS Access 2003 the tool can be accessed by selecting Help > Detect and Repair option. While in MS Office 2007, you need to execute the following steps to access and use the tool:
1. Start MS Access 2007.
2. Click the MS Access button and click the PowerPoint options button.
3. Select the Resource Tab.
4. Click the Diagnose button.
After you have launched the tool using the MS Access application follow the onscreen instructions to use the tool.
Jun 29 '15 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Nans | last post by:
One basic ASP.NET database issue…. I have a c# app running on a iis6 on one win2k3 adv servermachine & database on other win2k server machine…(in the same domain) Using windows authentication in...
2
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
1
by: Gopalan | last post by:
Hi Simple for you. Cannot open database requested in login 'TestDB'. Login fails. Login failed for user 'Computername\ASPNET' The user is given permission for accessing this DB the...
10
by: vvenk | last post by:
Hello: When I tried to use an Access database, I get the following exception: Server Error in '/WebGrid' Application....
0
by: micky | last post by:
=========================================================== Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\SYSTEM'....
1
by: bennett | last post by:
I'm trying to write an ASPX page that uses an OleDbDataAdapter to get data from a SQL Server database. When I test the connection, it returns success, and when I preview the data using the...
2
by: Homer | last post by:
Hi, I have an ASP.NET 2.0 Intranet app that works fine on a test server running on Win2003 Server with IIS 6.0. However, it fails when I port it over to the production server running on the...
2
by: wesve | last post by:
Hello - I have an Access 2003 application which I emailed to our customer overseas. When she tries to open the database, she receives the following error: "Microsoft Office Access cannot change the...
1
by: Jambo Jet | last post by:
<connectionStrings> <add name="Tenders" connectionString="Data Source=CV\SQLEXPRESS;Initial Catalog=Tenders; user id=sa; password=orc ;Integrated Security=True"...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.