Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Disclaimer: I just got back from some sick time, haven't seen the error myself or investigated the full range of possible causes, just looking for hints on what may be a systemic issue or something others have experienced in a similar situation.

Migrating the office to Office 2010 from Office 2003. Several critical Access Databases now give errors when opened in 2003 similar to what you'd get when you're using libraries you haven't set up properly in References (VBA app: Tools => References).

I'm investigating to see if the issue occurs when the files are opened in Access 2010 the same as when opened in 2003. Also, I'm trying to get a comparison to which libraries are referenced on machines that are working versus those that aren't. I'll update as I have more information.

In the meantime, is anybody aware of similar issues that may be addressed by a configuration change rather than a MDB edit?

Libraries referenced in 2010 system where MDB works:

  • Visual Basic for Applications
  • Microsoft Access 14.0 Object Library
  • OLE Automation
  • Microsoft ActiveX Data Objects 2.1 Library

The second library brings a question. The MDBs were originally written probably using Access 97, otherwise, using Access 2003, and so would have referenced the appropriate "Microsoft Access 12.0 Object Library" (for 2003) or similar. Will opening the file in 2010, as we see it's modified this reference to the 14.0 version, cause 2003 to look for that same version 14.0 library?

UPDATE: I've checked MDB files on my system, which does not appear to be having the issues (of course). The referenced libraries are the same in both Access 2003 and 2010 and the Microsoft Access ##.# Object Library reports 11.0 in 2003 and 14.0 in 2010, which should indicate it is not "hard set" in the code.

I will check the security options suggested by the commentor below and report back.

share|improve this question

3 Answers 3

This does not jive 100% with what you are saying, but most of the problems I have when upgrading Office are due to the increased security settings introduced in Office 2007, which are the same for 2010.

I would first try going to File>Options>Trust Center>Trust Center Settings, and lower all the settings, even if just as a test. You can then ratchet them back up and see what breaks what. Rule this common problem out first, and then see if you still have actual coding issues.

share|improve this answer
    
Security settings were already set. Essentially I set as trusted our entire file server. There are already other protections on the file server and so that was not too big a security issue. All other settings are set to prompt, and none to deny. –  music2myear Jun 8 '11 at 15:29

See Errors using multiple versions of Access under Vista or Windows 7. Changing the registry permissions as per work around 1) fixed that exact problem for my system. I've been testing multiple versions of Access recently due to a bug in my Auto FE Updater utility.

share|improve this answer
up vote 0 down vote accepted

The solution is this:

Access does not offer a way to opt out of the application check and reconfigure that is offered on Word and other Office apps. This is due to requirements of referenced libraries, which is where my particular symptoms came in.

If you are running multiple versions of Access, the version you ran last will always be the default version. Opening a different version manually will result in a reconfigure and a change in the default version.

In normal cases, when the application is functioning properly, these changes will not affect the function of databases so long as they are compatible with the version of Access set as default on the system. Different libraries will always be compatible at least back to the Access version they were written in.

In multi-version environments, making sure people use the normal method of selecting the database file via a file manager rather than opening Access directly and then selecting the desired file will result in a consistent version experience as well as minimal compatibility issues.

In this particular case, three users who were running the Office 2010 package customized for the first stage of our deployment process were experiencing the issue described above. Installing the Stage 2 version of Office 2010 reset the appropriate settings and resolved the issue.

UPDATE: I found one of the users having this issue did have a reference issue. Even after Office 2003 reconfigured itself on opening Access 2003, the references still included the Version 14.0 of Microsoft Access Object Library rather than version 11.0. This is what was causing the error messages in On Load and On Click events.

share|improve this answer
    
Yes, installing an update of Office 2010 would in fact reset the appropriate settings because an admin is updating the registry resetting things. The problem in this case is that users can't update sections of the registry. –  Tony Toews Jun 8 '11 at 6:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.