I code my webshite in classic ASP. Yes, I know, shut up. For the last tumpty tum years I've used a virtual drive under IIS to have a local copy to test stuff out on using
http://localhost/dim. All's worked fine and dandy until I've installed Windows 7 64-bit. Since: heartache and headache.
Since then I've been unable to use my local copy due to the error:
Quote:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/dim/index.asp, line 65
That line is my connection string to the access database behind my site
Quote:
strconn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath(MY FACKING DATABASE NAME)
set conn = server.createobject("adodb.connection")
conn.open strconn
where it falls over. From searching around the problem lies with the Windows 7 64bit ODBC. Hilariously (!), there are two consoles for this both called the same name.
Quote:
* The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
* The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
The first one is what the control panel link goes to, the second you have to navigate to and run from there. The problim: The 64bit ODBC will not link to anything from Firefox. The DSNs listed, of which there are three, all give me an error when trying to remove or edit them.
The 32-bit ODBC is all set up correctly and all the DSNs listed (about twenty two billion) all allow me to edit to my heart's content. But Firefox or IE won't seem to use the 32-bit version instead of the 64-bit one.
I've tried altering the connection string to no avail. I've tried transferring everything into a MySQL database to no avail. I'm at my wits end with it. How the hell can I force Firefox or IIS, even, to use the 32 bit ODBC?! Man hug for the victor who can point me in the correct direction.