IIS 7.5 using 32 bit driver instead of 64 bit

我的梦境 提交于 2019-12-10 11:52:41

问题


I am using IIS 7.5 on a Windows Server 2008 R2 machine to connect to a MySQL server through ODBC driver 3.51.

When I developed the application in VS 2010, I created a 64 DSN (using c:\windows\sysWOW64\odbcad32.exe) for the connection and everything was going great.

However when I have deployed the application on IIS, it is not using this DSN. So I created a 32 bit DSN.

Now I am facing the problem of Arithmetic operation resulted in an overflow on every other page.

Please help. How can make IIS use 64 bit DSN that I created while developing the application?


回答1:


Check the Enable 32 Bit Applications setting of your websites Application Pool to switch between running your website in 32 or 64 Bit mode.

See How to Enable a 32-bit Application Pool in IIS 7 for details.



来源:https://stackoverflow.com/questions/10563450/iis-7-5-using-32-bit-driver-instead-of-64-bit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!