ODBC driver is missing - ms-access

I am using microsoft office 365 pro plus (2016)
I am trying to install Microsoft access driver *.accbd in ODBC data source administrtor.
I installed Micorsoft access database engine 2016 , After that i can see the driver .mdb but not the .accdb
I went to C:\windows\syswow64 and ran the odbcad32 as an administrtor but even though the .accdb is not listed.
What else i can do to make it work?

I have just found out that the .accdb drivers installed on system32 folder. So when i access the odbc data source manager from system32 folder then it works.
I still do not know how i can have them on SysWOW64 folder.

i'm not able to add comment to your answer, so i'll post it as an "answer".
There are two versions of odbc administrator on windows 7 and up, 32bit and 64bit,
you may need to make sure the right one is running, depends on your OS.
take a look here,
https://www.yellowfinbi.com/resources/forum/yfforum-how-do-i-setup-the-dsn-for-microsoft-access-odbc-driver-thread-103711

Related

How to install Microsoft.Ace.oledb 32 bit with Office 64-bit?

I was trying to create a SSIS package where i want to upload an excel file into my DB but its giving me an error that
Microsoft.ACE.Oledb.12.0 is not registered on your local machine
I have installed the 64-bit version of the MS Access Engine and it perfectly installed but after that i am still unable to create DTS package.
I have searched over the internet and found that there are two versions available for this and i have downloaded both and when i try to install the 32-bit version of the Access Engine it gives me error
You cannot install the 32-bit version of Microsoft Access Database Engine 2010 because you currently have 64-bit Office products installed.
Please help me on this i am really looking forward to it.
Somehow late to the party but nevertheless:
source
To install the Microsoft ACE OLEDB Provider 32-bit on a machine running Office 2010 64-bit:
install using cmd with the following command:
$yourPath$\AccessDatabaseEngine.exe /passive
This solution no longer works. It seems to have changed so instead of /passive, now the install requires /quiet
This solution works when installing ACE 32bit on with 64bit Office $yourPath$\AccessDatabaseEngine.exe /quiet
Thank you sir
I'm having this issue to and I tried to use the /quite but it's stating that The system cannot find the path specified.

Microsoft.ACE.OLEDB.12.0 is not registered

I have a SQL Server job that runs monthly that runs in server. Job is using an SSIS package and is supposed to extract the data from database and and create an Excel sheet and copy the data into Excel 2003.
I actually got around 140,000 rows from the database due to truncation issue in Excel 2003 (Excel supports 64,000 rows). So I modified the config file to support 2007 Excel format.
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + #[User::FullPath] + ";Extended Properties=\"Excel 12.0;HDR=YES\"
But when I try to execute the job, it fails showing error message:
"The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered"
Summarized: INSTALL 32 bit version of Microsoft Access Database Engine 2010 Redistributable. Uninstall 64 bit version if previously installed. http://www.microsoft.com/en-us/download/details.aspx?id=13255
The Excel connection manager is trying to use the ACE OLE DB provider in order to access the Excel file when the version is above 2007 (xlsx).
Although your box is 64-bit, you’re using SQL Server Data Tools, which is a 32-bit application. There is no 64-bit version for SSDT. When you design your package within SSDT, you’re using a 32-bit process, which can only use 32-bit providers. When you try to choose the table in the Excel file, the connection manager needs to access the 32-bit version of the ACE OLE DB provider, but this provider is not registered on your machine, only the 64-bit version is installed.
You should download the 32-bit version of the “Microsoft Access Database Engine 2010 Redistributable”. When you try to install it, you might get an error message.
You should first uninstall only the 64-bit version of the “Microsoft Access Database Engine 2010 Redistributable”, which you probably installed previously. The 64-bit version and the 32-bit version can’t live together on the same host, so you’ll have to uninstall (through “Program and Features”) and install the other one if you wish to switch between them.
Once you finish uninstalling the 64-bit version and installing the 32-bit version of the provider, the problem is solved, and you can finally choose the table within the Excel file. The Excel connection manager is now able to use the ACE OLE DB provider (32-bit version) in order to access the Excel file.
There is a alter way. Open the excel file in Microsoft office Excel, and save it as "Excel 97-2003 Workbook". Then, use the new saved excel file in your file connection.
Another option is to run the package in 32 bit mode. Click on the solution => properties =? Debugging => Set run in 64 bit to false.
I think you can get away by just installing the OLEDB Drivers -
http://www.microsoft.com/en-us/download/details.aspx?id=13255
I installed the "Microsoft Access Database Engine 2010 Redistributable" as mentioned above and got side-tracked troubleshooting bitness issues when it seemed to be a version issue.
Installing "2007 Office System Driver: Data Connectivity Components" sorted it for me.
https://www.microsoft.com/en-us/download/details.aspx?id=23734
The easiest fix for me was to change SQL Agent job to run in 32-bit runtime.
Go to SQL Job > right click properties > step > edit(step) > Execution option tab > Use 32 bit runtime
screenshot
You have probably installed the 32bit drivers will the job is running in 64bit. More info: http://microsoft-ssis.blogspot.com/2014/02/connecting-to-excel-xlsx-in-ssis.html
The easiest solution I found was to specify excel version 97-2003 on the connection manager setup.
I followed the instructions to use the /passive switch here, after downloading the 64 bit Access database engine. I'm running Office 32-bit, SSAS Tabular Model in SQL Server 2012. When I downloaded and ran the 64-bit Access database engine it came up with a message saying that I couldn't install this without first uninstalling Office 2010, but the /passive switch seems to have solved this (I can now import Excel workbooks and Access tables in a tabular model).
I was getting this same error after previously being able to complete similar operations. I didn't try downloading any of the mentioned packages since I didn't have them previously and things were working. IT at my job did a 'Repair' on Microsoft Office 2013 (Control Panel > Programs > Add/Remove - Select Change then Repair). Took a few minutes to complete but fixed everything.
Just install 32bit version of ADBE in passive mode:
run cmd in administrator mode and run this code:
AccessDatabaseEngine.exe /passive
http://www.microsoft.com/en-us/download/details.aspx?id=13255
I had this issue and it took me a lot of time to figure this out. #tara's answer helped me to solve this problem but I couldn't really find the setting to set run in 64 bit to false. So, here is the screenshot for where you can find the setting
If anyone is still struggling with this and have done all the above suggestions and Cry every time someone says install Database Access Engine. This is what sorted for it for me.
Install 32bit Database access engine as others have suggested.
Set to run in 32bit mode within Visual Studio
Set to run in 32bit mode on the Job Step within the job on SQL Server Agent. On the Step, General Advanced. Check 32-bit runtime.
I'd post some images but I don't have enough rep :(

Server 2008r2 x64 and ODBC Connector

server 2008r2 x64,
mysql 5.5.24 x86,
access 2007 x86
im trying to connect mysql backend to access 2007 frontend...
after I installed mysql-connector-odbc-5.1.12-win32.msi and rebooted server. that driver will not show up in the drivers tab of ODBC Datasource administrator.or in the list of drivers if i try to add a new driver
also installed mysql-connector-odbc-5.2.5-win32.msi also just to try newer version, that does not show up either. repaired both install, rebooted, reinstalled, same thing. all i see is a mysql driver...
any ideas whats going on?
UPDATE:
Used C:\Windows\system32\odbcad32.exe and same results.. no driver there...
really not sure whats going on... any special dependancies required? not sure what i could be missing.. as i said, neither driver is visible, yet both installed without error (to my knowledge, are there install logs???)
default path for both drivers during installation was c:\programs Files (x86)\MySQL\connector ODBC 5.1\ or c:\rograms Files (x86)\MySQL\connector ODBC 5.2\
any thoughts?
After installing 32-bit ODBC components onto a 64-bit machine you need to run the 32-bit ODBC Administrator, normally found at
C:\Windows\SysWOW64\odbcad32.exe
If you just go the normal Control Panel > Administrative Tools > Data Sources (ODBC) route then you will be looking at the 64-bit environment, and your 32-bit options will not be visible.

VIsio 2010 Can't 'see' File DSNs

I'm using Visio 2010 Pro to reverse engineer my database. For some reason the wizard can't see my file dsns (I create them using the wizard) but System DSNs work fine. I'd like to make my DSN files portable so they can be shared with my team.
I've tried running Visio as administrator and have created umpteen file DNSs without success. Is there something I'm missing?
I had the exact same issue and I believe the issue is related to running a 32-bit version of Visio on a 64-bit machine. In my case, I was running a 32-bit version of Visio on a Windows 7 box. I had to go into the 64 bit ODBC dialogue directly (located here: C:\Windows\SysWOW64\odbcad32.exe) and create my connection, and then was able to go back into Visio and successfully connect. I believe what happens otherwise is you default to the 32 bit ODBC dialogue when creating your DSN in Visio, which then fails to show up when you are attempting to select your DSN later in the wizard process. This post touches on some additional detail regarding the 32-bit vs 64-bit nuances: http://robertoschiabel.wordpress.com/2008/02/28/windows-x64-32bit-odbc-vs-64bit-odbc/

dsn for ms access 2003 in windows 7

I am trying to create a dsn for ms access in windows 7. But its showing:
"The setup routines for the Microsoft Access Driver(*.mdb) ODBC driver could not be found.Please reinstall the driver. " and
"Error found:
The specified DSN contains an architecture mismatch between the Driver and Application."
I am using Microsoft Office 2003 version. I have tried to run C:\Windows\SysWOW64\odbcad32.exe also. But still getting this error. Now can anyone please suggest me to solve this error..
Thanks
You can run the setup again for Office 2003 and make sure to install the appropriate ODBC drivers:
http://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/no-odbc-drivers-available-for-excel-or-access-in/001c234b-dfd5-4378-a325-c4f1482fb6fd
If you open ODBC, you should be able to the full list of drivers installed and verify that either the older ones from Office 2003, or the newer ones you installed, are available. If they are, you can create a new ODBC DSN or edit the existing one to point to the drivers you want.