Solved

Access 2007 Runtime Deployment Cannot Delete or Update Records in Local Tables and Opens Read Only

Posted on 2009-04-09
3
937 Views
Last Modified: 2013-11-29
I have an Access 2007 database (.accdb) and I have Access 2007 Runtime installed, as well as the full version of Access 2007. When I run it with the /runtime switch from a shortcut, it works fine. When I package the solution from the Package Installation Wizard and install it from the package, it fails serially to delete records in local tables and load the local tables from the back end, which is part of the startup process. It errors at each table that should be cleared and loaded. The error is -214746259 "Could not delete from specified tables" followed by -214746259 "Operation must use an updateable query" with a source of Microsoft Office Access Database Engine. It then opens the datbase read only, which does not occur when running the database from a shortcut.

Is there something I am doing wrong in the solution packaging or is it just that the .accdr runtime version is by definition read only? If the problem is that .accdr is read only, how can I work around this to develop a solution package that is not read only?
0
Comment
Question by:Chuck Wood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 24113045
The ACCDR is NOT readonly unless you make it so. That extension simply tells Access to run the database in Runtime mode.

Does this happen on multiple machines, or just one? It sounds suspiciously like a bad Runtime install, but if this occurs across more than one machine then the culprit would be your application, not Access.

If you test the db using the Runtime ONLY (i.e. a machine without the full version of Access installed), do you get the errors?

Did you install the db to a Trusted Location?
0
 
LVL 16

Author Comment

by:Chuck Wood
ID: 24116757
How can I uninstall the Runtime so I can reinstall it?

I haven't yet tested the db using the Runtime because I am on Vista and Windows 2000 on my two computers and I have to find a machine with Windows XP to test on. I will do that next week.

I changed the installation location to a trusted location and I still get the errors and the db open Read Only.
0
 
LVL 16

Author Closing Comment

by:Chuck Wood
ID: 31568726
Great and complete answer. Thanks.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question