If I turn open the 32 bit app pool I specified for the main site and
turn off support for 32-bit applications, search works but since there
are no 64 bit jet drivers (MDB) Access queries fail.
...
I thought about converting the mbd databases to accdb since there are
64 bit drivers for accdb. At present, I can't do that because our
current hosting company is running the site on a win2k box. I'm in the
process of picking a new host and will have the site run in win
2008/2012 server. At that point I could upgrade the databases but
since there are many places in the code it would become a pain and may
take some time since the site changes often and I'd have to maintain 2
versions while converting.
There is no need to do this.
IIS can run itself in 64-bit or 32-bit mode in any windows in 64-bits. this can be activated using the Enable32BitAppOnWin64
directive on IIS6 or enabling the 32-bit application option in IIS 7.x, the Old Microsoft Access Database (.mdb
) can be accessed in 64-bit or 32-bit without the need of corversion to the new Micorsoft Access 2007-2010 database format (accdb
), you only need to install the correct driver.
Currently, the 64-bit mode for Microsoft access databases it's provided by the Microsoft.ACE.OLEDB.12.0
driver a.k.a. Microsoft Access Database Engine 2010 Redistributable
the default instalation of windows come with the old and deprecated Microsoft Access Database driver or Microsoft.Jet.OLEDB.4.0
. just ignore it and install the new one
When install the new driver maybe you need to modify a little bit in all your connection strings (if you don't use DSN's connections), but all the old functionality works in the new driver.
NOTE: You must install the driver that corresponds to the version (32-Bit/64-Bit) of Office that you have installed in the host (if applies). you cannot install the 64-bit driver if you have the Office (32-bit) installed in the server. If you don't have Office installed in the serevr Just ignore this note.