Solved

Installed Visio 2010 now Access 2007 won't load switchboard

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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.

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now