Solved

Installed Visio 2010 now Access 2007 won't load switchboard

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

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…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server functions 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 Ac…
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…

743 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

15 Experts available now in Live!

Get 1:1 Help Now