IIS 7.5 using 32 bit driver instead of 64 bit - mysql

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?

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.

Related

Front end (installed Access 365 32 bit with ODBC MySql BE) won't open for 64 bit users

My development computer has Installed 32-bit Access (Office 365). I now have users with 64-bit Access who cannot open the application. Is there any way to install 64-bit (either Runtime or full) for debugging purposes? So frustrating!
You have to convert your application to 64bit Access
This is done by obtaining a Ms Access 64bit (Office) ..opening your application on it and working out any bitness differences.. and of course providing the appropriate driver for MySQL : https://cdn.mysql.com//Downloads/Connector-ODBC/5.3/mysql-connector-odbc-5.3.14-winx64.msi

Delphi IDE and MySQL 32 and 64 bit versions

I have seen references to this over the web, but can't seem to configure this correctly. I am using Delphi XE8
I am devloping a Delphi based 64-bit MySQL application for MySQL after installing MySQL 64-bit, which works fine.
However, I need to make design-time changes in the IDE, such as viewing tables, mapping db-aware controls to the fields, etc.
I initially installed the 64bit MySQL, not knowing that the 32-bit Delphi IDE would need the 32-bit MySQL for IDE developing/editing/inspecting.
So I don't think I can have both 32 AND 64 bit MySQL installed on the same machine using the same 3306 port (or maybe I can?).
Does this mean if i want to inspect or work in the 32 bit IDE environment that I can't use the 64 bit MySQL? I have already designed a database in the 64 bit MySQL.....
I saw references to adding the paths to the FDDrivers.ini files, but I can't seem to get this going.
Please any thoughts??
Doug
Delph needs neither a 32bit nor a 64bit MySQL server, it just needs the correct client libraries ("drivers"). This imnplies, that you can keep your 64bit MySQL server on port 3306 and just install the 32bit client libraries. This should install quite fine in parallel to your existing 64bit client libs.
Just to make that clear: A 32bit client can talk to a 64bit server and vice versa. Only the server needs a listening port.

ODBC Connect to Oracle 64bit from MS Access (Using System32\odbcad32.exe)

I need to connect to a 64 bit Oracle server via ODBC in Microsoft Access. I have installed the 64 Bit ODBC drivers and set up the DSN using the System32\odbcad32 file.
The registry is pointing the driver towards:
C:\app\erahn\product\12.1.0\client_3\SQORA32.DLL
I cannot validate online that SQORA32.DLL is the 64 bit driver; the install package was the 64 bit version so I am assuming that it is.
I did not have luck connecting to the server using the 32 bit drivers either (Test connection would not work), so I am at as loss for what could be holding me back.
Any help would be greatly appreciated.
Eric
I made it work... after 100s of attempts looking everywhere.. This may be of no use to someone.. but if all else fails for you... try it.
I am on Windows 7, 64 Bit.. using Access 64 Bit..
just download these 2 files... from http://www.oracle.com/technetwork/topics/winx64soft-089540.html
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
Download instantclient-basic-windows.x64-11.2.0.2.0.zip (53,669,935 bytes)
*Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
Download instantclient-odbc-windows.x64-11.2.0.2.0.zip (1,356,558 bytes)
Remember download only 11.2.0.2.0 (for me all other version did not work and had numerous issues).
then follow directions from here:
http://celemotan.wordpress.com/2008/10/22/instantclient/

My c# application cannot connect to database on window7 64bit with microsoft access database engine 2010 32bit

I'm working with
1) Window7 32bit
2) VS 2005
3) language: C#
I made an application that connects to an Access file and deployed the applicatioin with Clickonce on my computer.
I published in release/any cpu mode.
The prerequisites was .Net Framework 2.0.
When I installed the appliction on another computer (Window7 64bit, MS Access Database Engine 2010 32bit), an error occurred.
The error message was Cannot Connect to Database.... System.Data.
My connection string is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=....
64-bit and 32-bit components don't play well together.
I had a similar issue with 64-bit Windows and a 32-bit ODBC driver. You most likely need the 64-bit version of the Access database driver.

Microsoft Access odbc problem on new windows server 2008

I've got a client that I wrote an asp front end application 2 yrs ago, which connects to a access 2007 database. All the files sat on a windows server 2000 machine 2 yrs ago. They recently upgraded their server to a windows server 2008 machine (64bit). Now the asp can't connect to the Access database via the ODBC connection. I tried using a dsnless connection, as well as, a manually created dsn connection (the manual dsn was created on the server 2008 machine using the 32bit .exe wizard to create dsn connections)...but that didn't work. I get an error that basically says the database odbc couldn't connect.
I've read that this is a problem between a 64bit 2008 server and a 32bit application (access 2007), but I can't seem to find any solutions to fix this problem.
Can anyone point me in the right direction, or offer some help? I'm really clueless how to solve this for them and they really don't have any other people to help.
Thanks for your help.
On a Windows 2008 x64 the following can be done to enable 32 bit applications in IIS:
Open IIS (inetmgr command)
Locate the application pool that your application is using
In the pool's advanced settings, set Enable 32-bit Applications to true
If that doesn't work, try enabling 32 bit compatibility mode by using the following command:
cscript c:\inetpub\adminscripts\adsutil.vbs SET /w3svc/AppPools/Enable32BitAppOnWin64 True
Hope it helps!