Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-27-2013, 09:46 AM
ArviL ArviL is offline ODBC Excel Driver Login Failed Windows 7 64bit ODBC Excel Driver Login Failed Office 2007
Novice
ODBC Excel Driver Login Failed
 
Join Date: Feb 2013
Posts: 11
ArviL is on a distinguished road
Default ODBC Excel Driver Login Failed

Hi

OS: Windows 7 64bit; Office 2007; Used Excel file type: *.xls (must be compatible with Office2000 and with Office2007)



I have an application where some data are entered into Excel worksheet (p.e. InputSheet). On sheet InputSheet, a nondynamic name p.e. MyData=InputSheet!$A$1:$X$10000 is defined. On another sheet, p.e. ReportSheet, I use an ODBC query with named range MyData as source to display certain data from InputSheet.

I have designed applications like this before, when I had Windows XP 32bit as OS and Office2000, and they worked perfectly.

So on ReportSheet, I select from menu Data>From Other Sources>From Microsoft Query>Excel Files* ..., and create a query. It works a treat, so long as the Excel session lasts.

After I close the Excel, and then open my Excel app anew, the error message is displayed whenever I try to refresh the query:
ODBC Excel Driver Login Failed
Unrecognized database format
'Mypath\Myfile.xls'

When I open ODBC Data Source Administrator, then on User DSN tab a data source is displayed:
Excel Files, Microsoft Excel Driver (*.xls,*.xlsx, *.xlsm,*.xlsb)

When I try to configure it, at first an error message is displayed:
The Setup routines for Microsoft Excel Driver (*.xls,*.xlsx, *.xlsm,*.xlsb) ODBC driver could not be found. Please reinstall the driver.

And after tha another one:
The specified DSN contains an architecture mismatch between the Deiver and Application

But the strangest thing is, that when I now return to my app, the query works again - until I close the Excel session. Only this will hardly be an acceptable working solution :-)


Any bright ideas?
Thanks in advance!


Arvi Laanemets
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Excel Driver Login Failed Initial Outlook setup failed-Please help! seanm2011 Outlook 2 06-18-2012 11:02 PM
Outlook address book & ODBC dhaven Outlook 0 12-19-2011 11:26 AM
Database exception: login failed rkoziol7 Outlook 0 05-23-2011 01:07 AM
DDE, OLE DB, or ODBC? timorrill Mail Merge 0 01-21-2009 01:42 PM
Phone call through TAPI driver drdebate Outlook 0 04-09-2007 01:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft