English 中文(简体)
64 bit ODBC Exception
原标题:

I am getting the following ODBC exception when I moved my development platform from Windows XP X86 to Windows 7 X64:

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

What I m sure it means is that the server it is connecting to is 32 bit, and the computer I m running on is 64 bit and the ODBC driver in use is 64 bit.

The application I am writing is set to run in 32 bit mode because some of the third-party software that we employ is not 64 bit compatible.

I tried downloading a 32 bit driver and changing the DSN but it did not fix my issue. I still get the exception.

If anyone has any links for 32 bit SQL drivers, or any ideas on how I could fix this by changing the project around, I m all ears.

Thanks in advance,

-Jrud-

最佳回答

It sounds more that you ve setup a 32-bit DSN using the 64-bit ODBC Administrator :

http://msdn.microsoft.com/en-us/library/ms712362(VS.85).aspx

Try using this ODBC Administrator instead :

c:windowssysWOW64odbcad32.exe

问题回答

If you type ODBC from Start -> Search Programs box, it only lists 32bit ODBC administrator, not 64bit console. Microsoft hide 64bit administrator from search.





相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签