Solved

Installed Visio 2010 now Access 2007 won't load switchboard

Posted on 2011-02-18
3
1,075 Views
Last Modified: 2012-05-11
I have recently installed Visio 2010 on my computer, and it seems to have broken the MDAC components for Access 2007 installed with Office 2007 Professional Plus.  I am able to fix the issue when I repair the install of Office 2007.  However, each time I load and run Visio, it configures itself as if it has never run before, then breaks my Access again.  It fails when loading the switchboard at the line:

Set con = Application.CurrentProject.Connection.  

The error I get is Run-time error '-2147418113 (8000ffff)': Method 'Connection' of object '_current Project' failed.  

I have converted the database to 2007 (accdb) from XP (mdb), but this is not helping.  I can't even repair and compact the database, it throws the same error.
Any help would be appreciated.  
0
Comment
Question by:evel1959
  • 2
3 Comments
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 34933249
Can you post the whole code?  
0
 

Accepted Solution

by:
evel1959 earned 0 total points
ID: 34937198
Helen,
I have done more research and found this quote from a Microsoft person.  Basically, the issue is that Office 2010 products look in a different directory for data access components that Office 2007.  The reason it words after repairing is that the components for 2007 are re-registered.  When Visio 2010 is run, it re-registers it's data components, thus breaking the 2010 data components.  So my solution was to uninstall Visio 2010, download Visio 2007 and install it instead.  Fortunately, we bought this through EOPEN and when you do that you get the keys for the older versions as well, so it works now.  Microsoft does not recommend running multiple versions of office for this reason, however it is annoying as hell because I don't consider Visio a part of Office, but Microsoft does.  Microsoft's answer
0
 

Author Closing Comment

by:evel1959
ID: 34977882
Because it is the right answer, and posting the rest of the code would have done nothing to add to the troubleshooting.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Familiarize people with the process of utilizing SQL Server views 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 Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

829 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