473,792 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

External access to a locked Access database

3 New Member
Hi

This is a "problem" I've been battling for many days and haven't been able to understand; various postings I've come across on the Internet seem to not quite provide the answer.

We have a commercial (membership database) application written around Access 2002 and we are using Access 2003 to run it on Server 2003 (64 bit), and 32 bit XP Pro. The database file is locked in some way so that it can't be opened within Access, even when using Shift key and F11 - it shows only an About message and a File/Exit menu. However we can create a new database file, link to the tables, and do anything we want except change the structure. This is sufficient for us to extend the application to fit our needs provided we work withing Access.

We are under pressure to break out of the limitations of Access and we would like to rewrite the application extension using more flexible languages and tools. However when we try to connect to this database using ODBC we get messages saying that we don't have read permission. Using OpenOffice.org Base as a test utility, we can open the file directly, connect through ODBC, and connect through ADO using Jet 4 OLE DB and ODBC OLE DB. We've tried this on the original file and also on one with linked tables. The table names are all shown but always the following error occurs when an SQL read is attempted:

SQL Status: 3112
Error code: -2147217911

(not sure if this is specific to OpenOffice).

Does anyone have an idea why we can't open the tables externally, and is there a way around this? I don't have a great deal of database experience apart from a bit of macro and VB coding in Access, so some guidance would be really appreciated.

cheers, Ken Sarkies
Holy Trinity Adelaide
Oct 29 '07 #1
3 2089
missinglinq
3,532 Recognized Expert Specialist
As to the first portion of your question, many commercial Access apps are converted from the .mdb type file to the .mde type file,making them behave in just the manner you've described. That's because most the developers of commercial databases (and by that I mean "off-the-rack" software, not custom written for your company) don't want you messing with the structure! The chances are that haven't paid for that priviledge! If you check your EULA and/or documentation, you'll probably see this stated somewhere. You've paid to use the database, you haven't bought it! The data is your property, of course, and you can access it, as you've found out! You could even have someone write you a new Access database, utilizing the data.

Theway to check this isto go into Windows Explorer and check the extension.

Welcome to TheScripts!

Linq ;0)>
Oct 29 '07 #2
ksarkies
3 New Member
Thanks for the reply Linq. The database has the extension mdb. We are aware that the authors don't want us to mess with the structure or code, and we are not really interested in doing that - changing the structure would kill any chances of being able to update the software (this is only the database file - the code file is separate). We simply need to be able to make use of the stored data to extend the application to our particular needs. The authors in fact encourage this as they have only provided a core functionality. Nevertheless we have gotten to the point of complexity where we either rebuild what we have done in VB within Access, or break out to freedom.

cheers, Ken
Oct 29 '07 #3
ksarkies
3 New Member
Actually I wonder if they have just changed the extension from MDE to MDB? I note that creating an MDE separates out the code, which appears to be what is done with this application.

Anyway the issue still is accessing the database through ODBC or ADO - is this not possible if it were an MDE?

Ken
Oct 29 '07 #4

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

Similar topics

0
3540
by: Allcomp | last post by:
Hello, I try to make a backup of a access database. To make it, I make a Filecopy, but some of my custommers have a problem : They work at 2 or 3 on the database, but when a user want to make a backup and another one is working on the database (exclusively locked), the backup is bad : when a user want to use the backup, he has the message telling that the database is locked by another user. Is there something to force the users out of...
4
2141
by: Wayne Aprato | last post by:
I have a simple database which was originally written in Access 97. When converted to Access 2000 file format it ran flawlessly in Access 2002. I've just tried to run it in Access 2003 and I am seeing the following behaviour: Some of the fields on the continuous main form which is a list of jobs with their related details "flicker". While this is going on the form seems to function as it should and isn't locked up. If I click and hold...
6
3650
by: Kenneth Courville | last post by:
Hello, I'm looking for assistance with the Access object model. I know this is VB, but I'm building an Office Add-using C# directed at Access 2002. I'm literate in VB, so you can reply in VB... I think my problem mainly lies in knowing the quirks of the Access object model. Basically, I'm looking for a method of determining if an Access database is open yet. AND I'm looking for a method that doesn't not require checking for an...
5
2326
by: Jeff Richardson | last post by:
I am creating a web service that returns data from an Access 2000 database using VS2005. The Access database is located on a different server than where the web service is running. The Access database is also opened by a different desktop application running on various workstations on the network. While developing / debugging the web service is hosted on my development machine using the 'ASP.NET Development Server' that is included...
1
10280
by: Dave Booker | last post by:
I am reading a text file using StreamReader. If while I have that stream open I open the underlying text file in, say, Excel, Excel will announce that the file is locked for reading and will offer to open it in Read-Only mode. But if I do that, then my StreamReader immediately throws a System.IO.IOException announcing, "The process cannot access the file because another process has locked a portion of the file." How can I access a...
11
8422
bhcob1
by: bhcob1 | last post by:
Hi, Whenever I delete a record my command button, the record deletes, a list displaying all records is updated and then a message box appears: Microsoft Access can't find the field 'I' referred to in your expression It only has the option of clicking 'OK', when I do this everything is fine again. I would like to know what is going on and how to fix this problem. Below is parts of the code that I believe the problem is in. The form is...
15
4112
by: chaseexchange | last post by:
First, a brief explanation of why this has happened. I purchased, what I thought, was a fully functional program written in Access last year from a local programmer. This program was to be used as my POS for an online DVD store. It turns out that what the programmer actually gave me was a "license" to use his software. This was not the agreement we made, and he knows this. He took advantage of the fact that I knew very little about...
1
1886
by: dixcyn04 | last post by:
Ok, now I've run into another little hiccup in my application. The ability to update records already in existance. What is bugging me about this, is the code I will submit was what I found on forums and suggestions here and there on the Internet and very similiar to what is suggested on this forum too. I've begun toi regret not having SQL Server for this little exercise I am coding since much of the code I have written in the past worked just...
2
2492
by: siewong | last post by:
Existing Access Database Troubleshooting I am new to access database and inherited an access application and all users who were previously able to use this access file simulataneously are now locked out exclusively . Some have not been able to get on at all. Obviously, this is the problem, and as far as I know, no changes have been made to access backend or front end. I have no historical data as to whether or not the access db was...
0
9670
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
10000
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
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...
1
7538
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
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
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
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
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2917
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.