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

Source: Internet
Author: User
Tags ole stack trace

Microsoft is not registered on the local computer. ace.oledb.12.0 "Provider Solutionerror 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 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 the Microsoft office Access (MDB and accdb) files and the Mic Rosoft 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= Path 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 (*.XL S, *.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)

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.