Hi Catalin,
I'm replying on behalf of
sjblack@gmail.com, who is a colleague of mine. I have attached a zip file containing two sample projects that demonstrate the issue as follows:
1. Sample.17.0.aip - Created in AI v17.0. If you build the project in AI v17.0 and run the MSI you'll see the working/expected behaviour on the SQLConnectionDlg's Next button (if the connection succeeds the next dialog is presented, otherwise the ODBC testing connection/error popup is displayed).
2. Sample.17.2.aip - A clone of Sample.17.0.aip that has been opened and re-saved in AI v17.2. If you build the project in AI v17.2 and run the MSI you'll see the broken behaviour on the SQLConnectionDlg's Next button (nothing happens on the button click regardless of whether or not the connection fails - the screen is stuck).
Points to note:
-The projects are empty except for small customisation to the out-of-the-box SqlConnectionDlg to the fields and field layout. For example, a radio group is added to set a SQLTRUSTEDCONNECTION property to 1 or 0.
-The project has an install parameter ODBC_DRIVER with its value set to 'SQL Server Native Client 11.0'.
-The ODBC_DRIVER property is referenced within the SqlConnectionDlg's Next button published event argument for [SQLConnectionString]. E.g: Driver={[ODBC_DRIVER]};...
-There is a TestODBCConnection custom action that is set to execute on the SqlConnectionDlg's Next button published event.
In addition, I've also tested by creating a 'SQL Databases' - 'Database Server' - 'Predefined Connection' using each of the following ODBC drivers (both 32 and 64 bit) available:
-SQL Server
-SQL Server Native Client 11.0
-ODBC Driver 13 for SQL Server
-ODBC Driver 17 for SQL Server.
Using the right-click 'Test' option on the predefined connection could successfully establish a connection to my database for each ODBC driver in AI v17.0, whereas they all failed to connect without any specific error messages in AI v17.2.
Thanks for your help,
Ian