Hi,
Thank you for your quick answer. I might not have been precise enough in my question. I am using:
Custom actions > UI custom actions > Add predefined UI custom action > Test ODBC connection.
Here is the argument as seen in my AI project:
Code: Select all
Driver=[\{]SQL Server[\}];Server=[EDIT_DB_ADDR];Port=[EDIT_DB_PORT];Database=[EDIT_DB_NAME];Uid=[EDIT_DB_USERNAME];Pwd=[EDIT_DB_PASSWORD];
The action works, but entering an invalid port makes no difference (validation passes with success), even if, in fact, the DB cannot be reached on that static port.
After your answer, I tried to do:
Code: Select all
Driver=[\{]SQL Server[\}];Server=[EDIT_DB_ADDR]:[EDIT_DB_PORT];Database=[EDIT_DB_NAME];Uid=[EDIT_DB_USERNAME];Pwd=[EDIT_DB_PASSWORD];
In this case, the validation never passes with success (connection timeout with valid port).
So my question is: How can I make the built-in validation function test everything including the port?
Thank you.
FOLLOW US
Get the latest news in Application Packaging