?
Solved

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

Posted on 2009-04-09
3
Medium Priority
?
939 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 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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