[SQL Server] [Office] The "Microsoft. Jet. oledb.4.0" provider is not registered on the Local Computer

Source: Internet
Author: User
Microsoft. Jet. oledb.4.0 is not registered on the Local ComputerProgram

 

Environment: Window Server 2003 + iis6.0 + office2003

Development tools: vs2005

Language: C # Aspx. net2.0

Vs2005 developed the aspx Program (DOT net2.0) and encountered an error when accessing the Acess database. The "Microsoft. Jet. oledb.4.0" provider was not registered on the local computer.

The following is a process to solve this problem and post it for your reference:

 

1. Check whether the link string is correctly written ,"Provider= Microsoft.Jet. oledb.4.0; Data Source = database path"

The spelling is correct and the problem persists.

2. The registration component regsvr32 msjetoledb40.dll still exists.

 

3.reinstall mdac28.exe, but the problem persists.

 

The solution to this error on the internet is generally the above three methods. Where is my problem? Will it be a permission issue?

 

4. Open the Registry (Start Menu -- run -- Regedit) and search for "Microsoft.Jet. oledb.4.0", View permissions, and find that the iis_wpg permission is not read.

 

Therefore, "Microsoft.Jet. oledb.4.0.

Refresh the page and click OK .. Haha ..

After that: Do not give "Microsoft.Jet. oledb.4.0", Add the everyone read permission, and add the iis_wpg read permission only.

 

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.