32-bit DLL in windows server 2008 R2 64-bit


Hi, I have registered a 32-bit dll in Windows server 2008 R2 64-bit and it registers correctly, I can even create the object, but the time to use a defined method in the dll always comes to me:

ADODB.Connection error '800a0e78'  
La operación no está permitida si el objeto está cerrado.

I am using classic ASP and the dll contains a function that connects to oracle 12c by odbc I have already reviewed the connection string and it is correct, in the 32 bit server it works correctly with classic asp and oracle 10g.

I'm calling the dll as follows

dim objBdaPais    
set objBdaPais = Server.CreateObject("nombredll.nombrecls")
sPais = objBdaPais.nombreMetodo()

I hope you can help me.


asked by Jose Tierra 21.09.2016 в 00:12

1 answer


I can think of the following thing: If you connect by ODBC, just do not have it properly configured ...

On 64-bit systems you have two consoles to configure the ODBC data sources. The one that shows by default from the control panel is 64 bits. And what you set there is not going to see your 32bit app. You have to configure the connection in the 32-bit ODBC console ...

Hence the error message in your app. Because he has not managed to connect


answered by 23.09.2016 / 15:49