Hi,
We have a .Net product that connects to a database that can be either Oracle or MsSql, and also can connect using an OleDbConnection or native .net SqlConnection or native .net OracleConnection. The information is collected during the install, user, password, dbname, server, provider (oracle/sqlerver/oledb) and the connection string is constructed and added to the app.config (and this works fine)
We would like to be able to test the connection to the db before installing. (to make sure the correct info was put in) I can see how we can do this for odbc but what I really need to be able to do is test the actuall method that the application will be using i.e. OleDb or the .net Native versions, how can i do this?
Using vbscript I am able connect using an OleDb connection string, so I can test that method, but how can I test the .net native versions ? (.net is a prerequisite so will be installed) Is there a way to do this in vbscript ?
Thanks for any help.
FOLLOW US
Get the latest news in Application Packaging