I have an existing PHP script that needs to work with data from an Access db, and the machine it\'s on is migrating from Win2K to Windows 7. I looked around, and Microsoft s
Did you actually Google "get jet odbc driver for windows 7"? I did and I found a number of possibilities, though only one of them looks like it will work.
First off, keep in mind that Jet itself has shipped as part of the OS starting with Windows 2000, so all you need are the ODBC drivers themselves.
The third Google link, Information about Jet 4.0 Service Pack 8, allows you to get the Jet ODBC DLLs (you'd need to get the version for NT4). I worried that this installer might check the OS and prevent you from installing the files, but it just runs transparently on WinXP (I'd assume the same on Vista/7, but maybe not). Since the Jet files are protected OS files, there's no danger installing an older version (a computer that's been kept up-to-date with Windows Update will already have something higher than Jet SP8, but the ODBC drivers are apparently not shipped with the OS in Win7, so this should work). If you can't get them, I can install it on my old Win95 box and send you the ODBC-specific files.
You may also have to install MDAC 2.8 to make them work (though you could register them manually, there are still non-Jet ODBC files that are needed that may or may not be installed on Windows 7). So far as I can tell the MDAC 2.8 download will be required.
One last caveat, if it's 64-bit Windows 7, you may be out of luck if you're using the Jet ODBC driver from contexts that cannot use 32-bit components. There is no 64-bit Jet yet (that's coming with Office 2010, and is in beta). A recent SO discussion has the link to the beta of the 64-bit Jet drivers. I don't know if that includes 64-bit ODBC support or not, though I'd tend to think it doesn't.
Here are the five steps that I did.
Regsvr32 c: \Windows\SysWOW64\odbcconf.dll
Loaded and installed 2007 Office System Driver: Data Connectivity Components from here. C: \Users\Homer\Downloads\ODBC\Download 2007 Office System Driver Data Connectivity Components - Microsoft Download Center - Download Details_aspx.mht
To use Windows 7 32-bit subsystem. You need to use the ODBC control panel here. c:\windows\sysWOW64\odbcad32.exe I used DSNLess so I did not need this. But it does work. The one in the system32 folder gives an errors if you try to use it.
My DSNLess Connection string DSN = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c: \inetpub\wwwroot\Database\gdbhelp.mdb"
Gave the IIS_Iuser account READ and WRITE rights to edit and add on the gdbhelp.mdb database.
Use odbcad32.exe under %WINDIR%\SYSWOW64, you will find all the 32bit drivers enumerated. I'm sure MS Access 32-bit ODBC driver is shipped.
-- http://social.msdn.microsoft.com/Forums/en-IE/sqldataaccess/thread/685eacc1-a670-42d4-8392-924230fa90cb