简体   繁体   中英

How to register Microsoft.ACE.OLEDB.12.0 provider on local machine?

I'm writing to a 2007 Microsoft Access file and when I do it using Visual Studio 2012, I have no issues at all. Everything reads and writes just fine, but when I publish the project and put it on IIS, I get an error message saying that the OLEDB provider isn't registered on the local machine. I've downloaded every Microsoft AccessDatabaseEngine.exe that's been suggested, all with zero success. Do I need to do anything other than just download and run the setup?

The IIS app pool needed to be set to accept 32-bit applications. Once I changed the setting from false to true, it worked perfectly!!! Thanks to Matt who provided detailed instructions on how to change the setting on the thread linked at the top. Helped me out immensely!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM