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
- :
- Connect as SYSDBA in Oracle
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
‎Nov 13, 2008
12:39 AM
Connect as SYSDBA in Oracle
Hi
Is there any chance I can connect as SYSDBA in Oracle? I'm creating a Web Setup project. I tried to add 'DBA Privilege=SYSDBA' to AdoCxnAdditional column of ISSQLDBMetaData table through Direct Editor, but it returns me 'Invalid connection attribute'. Logging in as other users works fine to me (sure, bcoz they're not SYSDBA). Any idea?
Thanks in advance
Is there any chance I can connect as SYSDBA in Oracle? I'm creating a Web Setup project. I tried to add 'DBA Privilege=SYSDBA' to AdoCxnAdditional column of ISSQLDBMetaData table through Direct Editor, but it returns me 'Invalid connection attribute'. Logging in as other users works fine to me (sure, bcoz they're not SYSDBA). Any idea?
Thanks in advance
(11) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2008
05:36 PM
Since the ODBC Driver for Oracle provided from Microsoft does not support the functionality, you need to use the ODBC Driver for Oracle provided from Oracle. Please follow the steps below to change InstallShield using an ODBC driver provided from Oralce:
[LIST=1]
Go to the ISSQLDBMetaData table in the Direct Editor.
Change the column values as follows:
AdoDriverName: {Oracle in instantclient11_1}
AdoCxnServer: DBQ=
ISAttributes: 6
Rebuild your setp.
Note that the ODBC driver name may be different from "{Oracle in instantclient11_1}" on your system. Check the Microsoft Data Access - ODBC Administrator that can be launched from the Control Panel to find out what you have on your system.
Once it is done, you will be able to connect as SYSDBA if you type "AS SYSDBA" after your password such as "mypwd AS SYSDBA" in the Password field on the SQLLogin dialog. If you want to provide a dropdown comobox that has three options; Normal, SYSOPER, and SYSDBA instead of typing the keyword in the password filed, try this:
[LIST=1]
Add a ComboBox control to the SQLLogin dialog in the Dialog Editor.
Set "CONNECTAS" to the Property setting:
Add the following 3 items:
Text: "Normal", Value: "Normal"
Text: "SYSOPER", Value: " AS SYSOPER"
Text: "SYSDBA", Value: " AS SYSDBA"
Add the following event to the Next button of the SQLLogin dialog:
Event: [IS_SQLSERVER_PASSWORD]
Arguemnt: [IS_SQLSERVER_PASSWORD][CONNECTAS]
Condition: CONNECTAS<>"Normal"
Make sure that the event you added in the previous step is sequenced before the event calling the ISSQLServerValidate action.
Rebuild your setp.
Hope that helps.
[LIST=1]
AdoDriverName: {Oracle in instantclient11_1}
AdoCxnServer: DBQ=
ISAttributes: 6
Note that the ODBC driver name may be different from "{Oracle in instantclient11_1}" on your system. Check the Microsoft Data Access - ODBC Administrator that can be launched from the Control Panel to find out what you have on your system.
Once it is done, you will be able to connect as SYSDBA if you type "AS SYSDBA" after your password such as "mypwd AS SYSDBA" in the Password field on the SQLLogin dialog. If you want to provide a dropdown comobox that has three options; Normal, SYSOPER, and SYSDBA instead of typing the keyword in the password filed, try this:
[LIST=1]
Text: "Normal", Value: "Normal"
Text: "SYSOPER", Value: " AS SYSOPER"
Text: "SYSDBA", Value: " AS SYSDBA"
Event: [IS_SQLSERVER_PASSWORD]
Arguemnt: [IS_SQLSERVER_PASSWORD][CONNECTAS]
Condition: CONNECTAS<>"Normal"
Hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2008
08:21 PM
How can I obtain/install {Oracle in instantclient11_1}? I only have {Microsoft ODBC for Oracle} in ODBC section in Control Panel.
The latest version I found in Oracle website only Oracle ODBC Drivers for Oracle 10.2
http://www.oracle.com/technology/software/tech/windows/odbc/htdocs/utilsoft.html
Thanks.
The latest version I found in Oracle website only Oracle ODBC Drivers for Oracle 10.2
http://www.oracle.com/technology/software/tech/windows/odbc/htdocs/utilsoft.html
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2008
09:59 AM
I used the Instant Client Package - ODBC for my test. The Oracle ODBC Drivers for Oracle 10.2 should work as well.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 17, 2008
09:47 PM
Oh really cool...It works! :cool: And now I can use InstantClient 11 instead of asking the user to install InstantClient 10 as you recommended at my other thread: http://community.installshield.com/showthread.php?t=184359&page=2
Thanks 🙂
Thanks 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 09, 2008
04:31 AM
One question: Is it possible to include this ODBC driver as a part of my installation?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 09, 2008
10:21 AM
I think that you need to create a MSI package that will install the ODBC driver files and execute odbc_install.exe. Then create a setup prerequisite to run the MSI package.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2008
11:33 PM
Is it possible to run odbc_uninstall.exe just before the uninstallation process removes all files? How could I configure a custom action to run during uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2008
10:30 AM
You need to set "REMOVE=ALL" to the Conditions setting for your action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2008
01:17 AM
OK I just played around with the registry instead of running odbc_install.exe and odbc_uninstall.exe and it works.
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2009
01:24 AM
hidenori wrote:
Since the ODBC Driver for Oracle provided from Microsoft does not support the functionality, you need to use the ODBC Driver for Oracle provided from Oracle. Please follow the steps below to change InstallShield using an ODBC driver provided from Oralce:
[LIST=1]Go to the ISSQLDBMetaData table in the Direct Editor. Change the column values as follows:
AdoDriverName: {Oracle in instantclient11_1}
AdoCxnServer: DBQ=
ISAttributes: 6Rebuild your setp.
Note that the ODBC driver name may be different from "{Oracle in instantclient11_1}" on your system. Check the Microsoft Data Access - ODBC Administrator that can be launched from the Control Panel to find out what you have on your system.
Once it is done, you will be able to connect as SYSDBA if you type "AS SYSDBA" after your password such as "mypwd AS SYSDBA" in the Password field on the SQLLogin dialog. If you want to provide a dropdown comobox that has three options; Normal, SYSOPER, and SYSDBA instead of typing the keyword in the password filed, try this:
[LIST=1]Add a ComboBox control to the SQLLogin dialog in the Dialog Editor. Set "CONNECTAS" to the Property setting: Add the following 3 items:
Text: "Normal", Value: "Normal"
Text: "SYSOPER", Value: " AS SYSOPER"
Text: "SYSDBA", Value: " AS SYSDBA"Add the following event to the Next button of the SQLLogin dialog:
Event: [IS_SQLSERVER_PASSWORD]
Arguemnt: [IS_SQLSERVER_PASSWORD][CONNECTAS]
Condition: CONNECTAS<>"Normal"Make sure that the event you added in the previous step is sequenced before the event calling the ISSQLServerValidate action. Rebuild your setp.
Hope that helps.
Hi,
Can you guide me how to do the same thing in installanywhere??
Thanks in advance,
Nilesh Rathod.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2009
01:25 AM
pradana wrote:
How can I obtain/install {Oracle in instantclient11_1}? I only have {Microsoft ODBC for Oracle} in ODBC section in Control Panel.
The latest version I found in Oracle website only Oracle ODBC Drivers for Oracle 10.2
http://www.oracle.com/technology/software/tech/windows/odbc/htdocs/utilsoft.html
Thanks.
Hi,
Can you guide me how to connect as sysdba in oracle in installanywhere??