Solved

ODBC error when opening 32 bit query on 64 bit office

Posted on 2013-10-23
2
1,025 Views
Last Modified: 2013-10-23
Hi all,

We've just made a massive leap from office 2003 (32bit) to Office 2013 (64bit). Of course we have lots of problems now. One problem is that users are now getting an error when trying to open existing query files (.dqy file) that were created in excel 2003. It would appear that we can create new ones, but not edit existing.

I have tried installing the access runtime 64 bit but this doesn't work.

Anyway of getting round this?
0
Comment
Question by:MJB2011
  • 2
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
Comment Utility
<<We've just made a massive leap from office 2003 (32bit) to Office 2013 (64bit).>>

 Well hate to be the bearer of bad news, but that probably was a mistake.   You should if at all possible stick with 32 bit Office.

<<One problem is that users are now getting an error when trying to open existing query files (.dqy file) that were created in excel 2003. It would appear that we can create new ones, but not edit existing. >>

 The problem is in general, everything you had was 32 bit and now needs to be 64.  That means:

1.  DSN's need to be created in the right place if you use them (there is an ODBC32adm.exe for 32 bit and one for 64 bit).
2. All drivers need to be 64 bit (ie. ODBC)
3. Calls to certain Windows API's will need have the PtrSafe attribute added.
4. Some Window API calls will need to be changed as they are different between 32 and 64 bit.
5. Any 3rd party DLL's, componets, etc will need to be changed.

On the flip side, the only thing 64 bit Office gives you is extremely large spreadsheets in Excel.   If you don't need that, then run, don't walk to 32 bit Office.

 Even Microsoft still recommends 32 bit Office.

Jim.
0
 
LVL 57

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
And just to be clear on this:

"Well hate to be the bearer of bad news, but that probably was a mistake.   You should if at all possible stick with 32 bit Office."

  32 bit Office or 64 bit Office will run under a 64 bit OS.   Just because the OS is 64 bit does not mean you need to run 64 bit Office.

 Also be aware that you cannot mix products within Office.  All either need to be 32 bit or 64 bit.   For example, you can't install Excel in 64 bit and Access in 32 bit.

Jim.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

763 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

6 Experts available now in Live!

Get 1:1 Help Now