WINDOW2003 64-bit IIS connection access error "microsoft.jet.oledb.4.0" issue

Source: Internet
Author: User

WINDOW2003 64-bit IIS connection access error "microsoft.jet.oledb.4.0" issue

Because the 64-bit operating system does not support the Microsoft OLE DB Provider for Jet driver, the earlier Microsoft Access Driver (*.mdb) mode connection is not supported. So the Microsoftole DB Provider for Jet used for access and Excel databases is not available in the 64-bit version, which means that the following two connection strings are not working correctly:
"Provider=microsoft.jet.oledb.4.0;datasource=" &server.mappath (db)
"Driver=microsoft accessdriver (*.mdb);D bq=" &server.mappath (db)
In this case, you can only use one method to set the operating environment of IIS to 32 bits:

First, the practice on the IIS6:
1. Command line type:
cscript.exe%SystemDrive%\inetpub\adminscripts\adsutil.vbs SET W3svc/apppools/enable32bitapponwin64 1
Setting IIS6 allows 32-bit programs to run on 64-bit machines
2. Re-registering. NET Frameworks
%systemroot%\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe-i

3. When you are finished, look at the Web service extension, you should have a 32-bit ASP. NET to allow, disadvantage: This will make all sites on the entire IIS run in 32-bit compatible mode.
Run IIS6 to see if it's resolved.
Set it to allow, disadvantage: all sites on the entire IIS run in 32-bit compatible mode
Second, the practice on the IIS7 is much simpler:
Application pool, advanced settings-allow 32-bit applications to be set to "True".

WINDOW2003 64-bit IIS connection access error "microsoft.jet.oledb.4.0" issue

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.