Is there a Windows 7 ODBC driver for Access?

后端 未结 3 1968
一生所求
一生所求 2020-12-03 18:32

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

3条回答
  •  时光说笑
    2020-12-03 19:03

    Here are the five steps that I did.

    1. Regsvr32 c: \Windows\SysWOW64\odbcconf.dll

    2. 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

    3. 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.

    4. My DSNLess Connection string DSN = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c: \inetpub\wwwroot\Database\gdbhelp.mdb"

    5. Gave the IIS_Iuser account READ and WRITE rights to edit and add on the gdbhelp.mdb database.

提交回复
热议问题