This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Test Connection with Oracle Name Server
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 22, 2007
02:21 PM
Test Connection with Oracle Name Server
Our application expects that the local machine has Oracle client installed and that it is configured to use Oracle name server. At installation we want the user to provide the database alias, user name, and password so we can test the database connection and store the info. The machine has no datasources defined and we do not know or care what the name of the database server is.
The built in SQL functions and dialogs do not work in this situation.
We have an InstallScript MSI project with the following code in OnFirstUIBefore to prompt the user for the 3 needed values.
How would I go about testing the connection given the three values provided by the install user?
The built in SQL functions and dialogs do not work in this situation.
We have an InstallScript MSI project with the following code in OnFirstUIBefore to prompt the user for the 3 needed values.
szTitle = "Database Connection";
szMsg = "Enter the values for the database connection.";
szField1 = "Database Name:";
szField2 = "User ID:";
szField3 = "Password:";
nResult = SdShowDlgEdit3 (szTitle, szMsg, szField1, szField2, szField3, svDatabase, svUserName, svPassword);
How would I go about testing the connection given the three values provided by the install user?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 22, 2009
05:11 AM
I too wolud like to know how you test an Oracle connection. This is really holding me up now, please advise, many thanks.
Charlie:confused:
Charlie:confused: