cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
wheinsohn
Level 4

[IS MSI] test db connection

How can I test a db connection for a valid server/login information? The user sets the information for the db-server, username and password. Then the information has to get validated. Therefore I used the "SQLRTTestConnection" method, but in the case of an error (invalid server or invalid login info), an error messageBox is shown. Is there a way to test it silently, with a custom error message in a dialog instead of the messageBox solution?
Labels (1)
0 Kudos
(2) Replies
sachin_a_pawar
Level 4

Hello,

Please set "IS_SQLSERVER_CA_SILENT" Msi Property to 1.

Thanks
Sachin Pawar
0 Kudos
wheinsohn
Level 4

That solved the issue, thanks.

best regards,
wheinsohn
0 Kudos