Microsoft ODBC for Oracle for connection test not working - Advanced Installer Community
taurus_ashwini
Posts: 17
Joined: Fri Dec 11, 2015 10:51 am

Microsoft ODBC for Oracle for connection test not working

I tried Microsoft ODBC for Oracle for connection parameters test but it did not work. Please provide a sample aip for the same if possible.
taurus_ashwini
Posts: 17
Joined: Fri Dec 11, 2015 10:51 am

Re: Microsoft ODBC for Oracle for connection test not working

It says Oracle client and network components were not found. But I guess advanced installer does provide driver out of the box right. It works for SQL Server but not Oracle.
Error:
"Driver's SQLAllocHandle on SQL_HANDLE_ENV failed. "
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Microsoft ODBC for Oracle for connection test not working

Hello and welcome to our forums,

Did you follow our "Test SQL Connection" user guide article steps?

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
taurus_ashwini
Posts: 17
Joined: Fri Dec 11, 2015 10:51 am

Re: Microsoft ODBC for Oracle for connection test not working

Hi Daniel and team,

Thank you for a quick rersponse.

I have attached my AIP file and log file which I got while running it from advanced installer instance and sent a mail to support@advancedinstaller.com.

I have followed all the steps in the TestConnection and creating Predefined Oracle connection. Same steps I have followed for SQL Server. It worked for SQL Server but not for Oracle.

My understanding is just as for SQL Server, for Oracle too I will not need to install any other driver. Correct me if I am wrong.

Please reply as soon as possible.

I am attaching the same here.
Attachments
OracleTest.aip
(15.69 KiB) Downloaded 476 times
VerboseLog.log
(31.9 KiB) Downloaded 425 times
taurus_ashwini
Posts: 17
Joined: Fri Dec 11, 2015 10:51 am

Re: Microsoft ODBC for Oracle for connection test not working

Screenshot attached.
Attachments
CaptureSS2.JPG
CaptureSS2.JPG (22.07 KiB) Viewed 5957 times
CaptureScreenshot.JPG
CaptureScreenshot.JPG (28.16 KiB) Viewed 5957 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Microsoft ODBC for Oracle for connection test not working

Hello Ashwini,

Thank you for the sent files. I've built and tested your setup project on a Windows machine with Oracle 11g installed and the test ODBC connection went successfully. Can you please test ODBC connection parameters outside of the setup installation and make sure the ODBC connection succeeds?
My understanding is just as for SQL Server, for Oracle too I will not need to install any other driver. Correct me if I am wrong.
Yes, this is true. Every Windows OS comes with a pre-installed "Microsoft ODBC for Oracle" driver, so you can use this ODBC driver to establish Oracle server connections. However, the recommended approach will be to install an Oracle provided ODBC driver for Windows which can be used to establish ODBC connections. So, you should search for an Oracle ODBC driver compatible with your target Oracle Server version and add it as a pre-install prerequisite to your setup project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”