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

Source: Internet
Author: User

An error occurred uploading Excel: "Microsoft is not registered on the local computer. ace.oledb.12.0 "Provider Solution

Read Excel Provider

if (Filefullpath. IndexOf (". xlsx") > 0)
Strcon = "Provider=microsoft.ace.oledb.12.0;data source=" + Filefullpath + "; Extended properties= ' Excel 12.0; Hdr=yes;imex=1 ' ";
Else
Strcon = "Provider = microsoft.jet.oledb.4.0; Data Source = "+ Filefullpath +"; Extended properties= ' Excel 8.0; Hdr=yes;imex=1 ' ";

Workaround:

1. Download the Office system driver, note that it is 2007, the pro-Test 2010english version error, the cause is not further confirmed, the component

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

2. Installing AccessDatabaseEngine.exe

3. Web application pool Settings "Enable 32 no Applications"-->true

After the above settings, upload 2010 version of Excel No problem, if the error still occurs, it should be the download component version error

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.