Quantcast
Channel: Toad for Oracle Forum - Recent Threads
Viewing all 4385 articles
Browse latest View live

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

John,  I tried 12.9.0.71 version of toad and it still gives ORA-1031 error for all users who try logging into database using TOAD tool.  It is toad problem becase whenI login using sqlplus or any other tool it is fine.


RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

Sanjay, does the ORA-01031 message actually pop up or is it just logged in the audit records?     If it's just in the audit records, go back and see my message after the SQL Output was posted earlier in this thread.

If that's not it, please post your Spool SQL output so we can identify the query that's causing the problem.  

For what it's worth, one possible cause of ORA-01031 popping up is if you have SysDBA selected on the login window and you don't have the SYSDBA privilege.

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0
Here is test case scenario :

-         Create user in 12c oracle db with connect privileges and typical that we have been using in 11g/10g databases.

-         12c oracle users (without sysdba) are experiencing this problem when connecting to 12c database in toad 11.6. and 12.9.0.71.     11g db and 10g db connecting via toad is fine.

Following is the error from toad spool that is causing :

 

Session: SYSTEM@TEST12cDB.world
Timestamp: 16:39:22.111
SELECT u.NAME
FROM sys.USER$ u
WHERE u.TYPE# = 1
ORDER BY 1
Error: ORA-01031: insufficient privileges
 

-         FIX : When I grant the privilege as sys :

GRANT select on sys.user$ TO PUBLIC;

But the above GRANT creates a security hole as this table owned by SYS.user$ has passwords in it.

-         When I connect sqlplus to 12c database, it is fine and no error.  Therefore, it is toad problem even I tried latest version of toad 12.9.0.71.

 
 
 
I need this fix or workaround with no security compromise as we are migrating our data center to 12c Oracle and toad is used quite a bit as choice of tool for connecting to oracle databases.
 
Thank you
Sanjay Sethi
Phone 651-366-4078
 
 
 
 
 

ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

I am having an issue when I attempt to login via Toad(version 11.6) using the system account, to a newly created 12c database. When I enter my credentials and attempt to connect, I receive the error ORA-01031: insufficient privileges. When I click ok, it still seems to log me on to the database, but I receive the error anytime that I try to browse within Schema browser. It doesn't seem to affect my ability to execute queries in Toad as I've yet to get the error this way.

This only happens when I am using Toad and using this account. I can connect using this Toad client while using the sys account without any issue.

I am able to connect using the system account without error using other methods on the same machine: SQL Developer, SQLPlus, and also Toad version 10 through a citrix app. All of these methods allow me to connect and browse the database without any type of error. So I know that there isn't a connection issue between my machine and the database, but it seems maybe related to this version of Toad.

RE: Toad 12.10 blocking other windows

$
0
0

I can confirm that on 2 monitor system, after F4 which shows window on second monitor, result to be that window "Stay on top". This is true when used "Alt tab" and try to focus some other window on that (non primary monitor).

When i minimize Toad and return it, this problem disappear.

Unfortunately cannot repeat that ...

Toad 12.10 blocking other windows

$
0
0

Hi

Since I updated to Toad 12.10 yesterday, I've had an issue where the Toad always keeps in front of other windows, so I have to minimise Toad to be able to see them.  This is annoying, but work-aroundable most of the time, but when Toad is running a script that takes a few minutes, and this happens I completely lose one of my monitors until the script has finished and I can minimise Toad.

If I restart Toad then the problem fixes itself for a few minutes and then comes back.

I have had this problem intermittently for years with the pop-up describe window, but never with the main window, and never as regularly as it is happening now.

I am using 64-bit Toad on Windows 8.1

Thanks

Dan

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

So the error is just in spool SQL, right?   And Toad is not raising the error?   If so, Toad is just operating normally.   Toad checks for the SELECT privilege on this view, and if you don't have it, Toad will work fine without it.   If you do have the SELECT privilege on SYS.USER$, Toad can use it to make more efficient background queries.   If you don't have the privilege, then Toad will use the DBA_, ALL_, or USER views as appropriate.

Nobody is asking you to grant select on SYS.USER$ to PUBLIC.  

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

Here's a little more detail:

Toad 11.6 came out before Oracle 12.   Before Oracle 12c, if you had the SELECT ANY DICTIONARY privilege, that meant you could select from the SYS.USER$ table.  So if Toad 11.6 detects that you have SELECT ANY DICTIONARY, it will use the SYS.USER$ table.

Then Oracle 12c came along and they took SYS.USER$ out of the SELECT ANY DICTIONARY privilege.   But of course Toad 11.6 doesn't know that, so Toad 11.6 throws an error about the SYS.USER$ view if you have the SELECT ANY DICTIONARY privilege.    So if you want to use Toad 11.6 with Oracle 12, to get around this problem, then either revoke SELECT ANY DICTIONARY from the users that connect to the database with Toad, or grant them SELECT on SYS.USER$.

The next Toad version was 12.0.   Starting in Toad 12.0, we make a separate check to select from the SYS.USER$ table.   If there is an error, it is not displayed and Toad will not try to select from SYS.USER$ again for the duration of that connection.  You should not notice this check unless you are spooling the SQL.

I hope this clears things up.   If you see any deviation from the above, check Help -> About to be sure that you are running the Toad version that you think you are running.   If you still see a problem, please post the 'create user' script to create your user so I can try to recreate the problem.  


RE: Toad 12.10 blocking other windows

$
0
0

I've had this issue for years but I didn't realise it could be dual monitor related. For me, if I use F4 to describe an object and the describe window pops up separately from main Toad blocking another application, it stops the focus going to that other application when I click into it unless I click on the title bar of that application. So, click into the body and focus stays with the Toad pop-up window, click on the title bar and focus goes to that application.

Mark.

RE: Changes in Workspace not saved

$
0
0

Frute,

  Which version of Toad are you using?

RE: Changes in Workspace not saved

$
0
0

Gregory,

Toad for Oracle 12.8.0.49

Changes in Workspace not saved

$
0
0

If an existing workspace is saved and then opend again, the changes are not saved. There also is no error message.

Thank you for your support.

Frute

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0
I also tried toad 12.9.0.71 and with same ERROR ORA-1031 experience ?

RE: ORA-01031 occurs when connecting to Oracle 12c with Toad 11.6

$
0
0

Please turn on spool sql, then login and do whatever you need to do to get the error.

Then post the spool sql output as well as the "create user" script for the user that you are logging in with.

You can email them to me if you want: john.dorlon@quest.com

RE: Toad 12.10 blocking other windows

$
0
0

Yeah, I see that.   I'll take a look at it today.

Here's what I'm seeing -

If you use the windows task bar icons to switch apps, the describe window does not stay on top of other apps that have focus.  

The stop-on-top problem only happens when you switch apps by clicking on them.


RE: Toad 12.10 blocking other windows

$
0
0

It's behaving for me today, so I can't confirm.  When I've had it in the past though, I'm pretty sure I've tried everything and I've always wound up having to restart Toad.

RE: Toad 12.10 blocking other windows

$
0
0

While you're looking at this John, I don't suppose you could take a look at the other issue around focus with the F4 pop-up window could you? I know you've had a look in the past but maybe while you're having a look at this one you might see something different. I've been living with it but I use Alt+Tab a lot so it can be quite frustrating. Hope you don't mind me not raising it as a new thread, it's just that I'm sure it will be in the same section of code as what you're already looking at in this one!

Just to remind you what it is:

1. Describe (F4) an object.

2. Minimise the popup.

3. Navigate to another application

4. Navigate back to Toad by selecting the icon on the task bar.

5. Pop-up stays minimised and focus is in the main window (this is the desired state).

6. Navigate to another application.

7. Navigate back to Toad using Alt+Tab.

8. Pop-up restores and has focus (not desired!).

Thanks,

Mark.

RE: Varial Window pops up when I try to run a statement

$
0
0

If executing using F9 then set substitution variable prompting to <none>. See the Substitution Variable Prompting flyout on Editor rt-click menu.

If executing as script, F5, then add SET DEFINE OFF at the top of your script.

Varial Window pops up when I try to run a statement

$
0
0
I have the following code
[update WALLET_SHARE.WS_1MOset TOTAL_DISP_QTY =20.0, BX_OPP_QTY =10.0, BX_OPP_AMT =185.0where GNN ='TETANUS &DIPHTHERIA TOX,ADULT'and PARENT_ID =100241164and DISP_UNIT ='DOSES';

deletefrom WALLET_SHARE.WS_1MOwhere GNN ='TETANUS &DIPHTHERIA TOX,ADULT'and PARENT_ID =100241164and DISP_UNIT ='ML';

commit]

When I try to run the first statement I get a Variables Pop-up box,  The name of the GNN I'm referencing is exsactly as it is in the WS_1MO table.  How do I get this statement to run when the name contains spaces, commas, and "&"?


RE: Toad 12.10 blocking other windows

$
0
0

Well, I think I have the stay-on-top problem fixed for next beta.

Unfortunately, whatever is causing the "restore a minimized describe window on Alt+Tab back to Toad" problem - that's something different.   I'll keep looking at that one.

Viewing all 4385 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>