Last post May 12, 2014 04:06 AM by Angie xu - MSFT
May 04, 2014 09:58 PM|TheOldOne|LINK
Don't know if this is the right part of the forums or not.
I have a web app that works fine on my XP machine. I now have a win 7 64bit machine with IIS 7. The app will still run in vs2010 when you click on the run button. No problems.
I have set up IIS 7 properly, I can type in the address to the site and it will start my login page. As soon as I enter name & pw and press enter, I get an error.
Exception Details: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application for some reason that I do not understand it highlites this line. LIne 64.
I have IIS 7 set to run 32 bit apps. I made the DSN driver with the 32 bit version. I know the driver is good. I can change the data base pointer to another machine and it works just fine.
any help will be appreciated. Thanks
May 05, 2014 01:39 AM|Rajneesh Verma|LINK
You are trying to use 32bit odbc driver in 64 bit machine but by default 64 bit will work for connection , see the details below:
May 05, 2014 08:51 PM|TheOldOne|LINK
Ok, I forgot in my initial post that I am using MySql. I just downloaded the 64bit version for the odbc driver and installed it. I ended up with no 32 bit driver then.
Can I have both a 32bit and 64 bit driver? According to the link you set you show both, but I have no 32bit odbc driver once I installed the 64 bit. And according to
what I have read, if I read it right, by changing the opiton in IIS 7 to use 32 bit, then it should have worked, or am I all wet on this?
Thank you for the initial reply.
May 12, 2014 04:06 AM|Angie xu - MSFT|LINK
Welcome to asp.net forum.
Exception Details: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
According to the error message above, it seems that you've setup a 32-bit DSN using the 64-bit ODBC Administrator.
Here is a discussion about migrating development platform from Windows XP X86 to Windows 7 X64:
64 bit ODBC Exception
hope it helps.