Microsoft is not registered on the local computer. ace.oledb.12.0 "Provider Solution

Source: Internet
Author: User
Tags ole stack trace

Error message: Microsoft is not registered on the local computer. ace.oledb.12.0 "provider.

Workaround:

Go to Http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe to download. Then the installation will be OK.

This error is due to the fact that you are using a ACCESS2007 version of the database, but the server does not have a compatible program, so there is an error.

Microsoft is not registered on the local computer. ace.oledb.12.0 "provider.

Description: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace information For more information about the error and the source of the error in your code.

Exception Details: System.InvalidOperationException: Microsoft is not registered on the local computer. ace.oledb.12.0 "provider.

Download the Office system driver: Data Connection Component Installation

Http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe

This download installs a set of components that non-Microsoft Office applications can use to read data from the Office system files, such as from Microsoft office Access (MDB and accdb) files and Mi Crosoft read data in Office Excel (xls, xlsx, and xlsb) files. These components also support establishing connections to Microsoft Windows SharePoint Services and text files.

In addition, ODBC and OLE DB drivers are installed for application developers to use when developing applications that are connected to the Office file format.

--------------------------------------------------------------------------------------------------------------- ------------------------------------

Use this download: If you are an application user, consult the application documentation for more information about how to use the appropriate driver. If you are an application developer who uses OLE DB, set the Provider parameter of the ConnectionString property to "microsoft.ace.oledb.12.0" if you want to connect to Microsoft Office Excel data, Add "Excel 12.0" to the extended properties of the OLE DB connection string. If you are an application developer who uses ODBC to connect to Microsoft Office Access data, set the connection string to "Driver={microsoft Access Driver (*.mdb, *.accdb)};D Bq=pat H to mdb/accdb file "If you are an application developer who is using ODBC to connect to Microsoft Office Excel data, set the connection string to" Driver={microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.XLSB)};D bq=path to xls/xlsx/xlsm/xlsb file "details: http://www.microsoft.com/downloads/zh-cn/ details.aspx?displaylang=zh-cn&familyid=7554f536-8c28-4598-9b72-ef94e038c891

Or:

Workaround 1 (Verify Yes)

Select an application pool for the application------> select Advanced Settings---------> Enable 32-bit applications------->true

Solution 2

Microsoft.ace.oledb.12.0 can not be used again x64, you want to force your Web application compiled into x86 and then released to Win08 x64, remember to set the Enable 32bit on the application pool Application = True. (No validation)

locomotive 8.3/8.4 version hint error: microsoft.ace.oledb.12.0 provider workaround not registered on the local computer the fox was upgraded from 8.3 to 8.4. The system has always been a win8.1,64 bit. This error occurs after the upgrade and the workaround is to download the Access driver

Properties-Compatibility-win7, fix it after installation!

If not, see below

This is because the 8.3/8.4 version has 64-bit programs, but access drivers are not installed by default on 64-bit systems and need to download a component installation.

Download the Access driver: Data Connection Component Installation

Http://pan.baidu.com/s/1feun0

Direct installation may prompt

At this point, please use the following method to install

1. Use "/passive" command to install, for example "C:directory Pathaccessdatabaseengine_x64.exe"/passive

2, after the installation is complete, view the registry hkey_local_machinesoftwaremicrosoftoffice14.0commonfilespaths, delete the Mso.dll

3, if the above 2 points operation does not understand, please see http://faq.locoy.com/q-1107.html explanation

Reference http://blog.csdn.net/sundacheng1989/article/details/17925431

Other friends use the following methods, is also feasible, users can choose their own

Environment:

System: WIN7 64-bit +office 2007 32-bit

Accessdatabaseengine version: 2010 64 bit

Tools to use:

1, 7zip decompression software

Http://www.bitsCN.com/softs/11278.html

2, ORCA. Msi

: http://www.bitsCN.com/article/9476.htm

Operation Steps:

1, open accessdatabaseengine with 7ZIP, and then extract to a folder, extracted files for aceredist.msi installation files and a CAB file.

2, open Aceredist.msi with Orca, find launchcondition inside the blockinstallation, delete, save. Then close exit Orca and run Aceredist.msi to install successfully.

Microsoft is not registered on the local computer. ace.oledb.12.0 "Provider Solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.