Solved

Installed Visio 2010 now Access 2007 won't load switchboard

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

680 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