Solved

Installed Visio 2010 now Access 2007 won't load switchboard

Posted on 2011-02-18
3
1,071 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

806 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