Insufficient privilege error when executing DBMS_ERRLOG through PLSQL
Hi,
I shall be grateful if any one of you give me the solution at the earliest.
I have 2 schemas like A & B those are running on Oracle 10g rel2.
As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
The problem is when i'm running the procedure,
DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
in SQL*Plus of B schema, it's creating the error log table successfully.
But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
It throws 'ORA-01031: insufficient privileges'...
I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
Awaiting your earliest reply.
Thanks.
- Ela
Hi,
It's not an issue with direct privilege. Actually the package is working when i execute it with in a ananymous block, but the same get fails when execute it through procedures...
Even we have given COMMENT ANY TABLE priv to the schema and that too didn't work out.
awaiting your reply.
-Saravanan
Similar Messages
-
Insufficient priv error when executing DBMS_ERRLOG through PLSQL
Hi,
I shall be grateful if any one of you give me the solution at the earliest.
I have 2 schemas like A & B those are running on Oracle 10g rel2.
As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
The problem is when i'm running the procedure,
DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
in SQL*Plus of B schema, it's creating the error log table successfully.
But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
It throws 'ORA-01031: insufficient privileges'...
I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
Awaiting your earliest reply.
Thanks.
- Ela>I dont think it's an issue with direct privilege. Actually the
package is working when i execute it with in a ananymous block,
but the same get fails when execute it through procedures...
Role privs work with anonymous PL/SQL blocks. Does not work with stored PL/SQL code.
SQL> create user user1 identified by user1 default tablespace users quota 2M on users;
User created.
SQL> grant create session to user1;
Grant succeeded.
SQL> create role user1_role;
Role created.
SQL> grant create table, create procedure to user1_role;
Grant succeeded.
SQL> grant user1_role to user1;
Grant succeeded.
SQL> connect user1/user1
Connected.
PL/SQL procedure successfully completed.
SQL> create table x( n number );
Table created.
SQL> begin
2 execute immediate 'create table y( n number )';
3* end;
SQL> /
PL/SQL procedure successfully completed.
SQL> create or replace procedure CreateTable is
2 begin
3 execute immediate 'create table z( n number )';
4* end;
SQL> /
Procedure created.
SQL> exec CreateTable
BEGIN CreateTable; END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "USER1.CREATETABLE", line 3
ORA-06512: at line 1
SQL> -
Error when executing DBMS_ERRLOG through Stored Procedures...
Hi,
We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
> exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
(...the same will be working when execute through Anonymous plsql block)
BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs', it throws the following error...
ORA-01031: insufficient privileges
Please let me know how the solution at the earliest.WHY DO YOU FEEL YOU HAVE TO START A NEW THREAD FOR YOUR PROBLEM!?
Insufficient priv error when executing DBMS_ERRLOG through PLSQL -
OWB10gR2: Insufficient privileges error when executing OMBREGISTER USER
Hello,
In the OMB Plus window I try to register a user as a OWB user:
OMB+> OMBCONNECT OWB_SCHEMA_OWNER/PASSWORD@NODE:1521:DBSERVICENAME
Connected.
OMB+> OMBREGISTER USER 'target_user' SET PROPERTIES (DESCRIPTION,ISTARGETSCHEMA,TARGETSCHEMAPWD) VALUES ('DWH user','TRUE','password')
ORA-01031: insufficient privileges
First time I see this error, registered many more users on different OWB instances with this command. Anyone who has an idea what's wrong?
Best regards, ErikSolved the problem by recreating the target schema; we first narrowed the problem down to this specific user, but could not find any deviations from other target users.
Decided to recreate the target schema because we were running out of time. No real solution to the problem, but at least we can go on... -
Error when executing DBMS_ERRLOG pkg through Stored Procedures...
Hi,
We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
> exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
(...the same will be working when execute through Anonymous plsql block)
BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs',
it throws the following error...
ORA-01031: insufficient privileges
Please let me know the solution at the earliest.
Thanks.
-Saravananduplicate post
Insufficient privilege error when executing DBMS_ERRLOG through PLSQL -
"Insufficient privileges"-error when starting database when on network
Hi
I have an Oracle 9.2.0.5 database installed on my laptop (Windows 2000 Prof), but I have a small problem.
When I'm plugged in to the company's network, I can start the database normally.
However, when I'm not connected to the company network, i.e. only logged in locally on my laptop, then I get an ORA-01031 Insufficient Privileges error when I start the database. Therefor, I can't do anything.
When I'm plugged into the company network, start the database, and then unplug my laptop, I can still connect to the database. So I guess it checks some userrights only when it starts the database.
I checked the user account settings, and my user is a local administrator, and is in the ORA_DBA usergroup.
Does someone know which setting I have to change?You can install MS Loopback Adapter on your system and assign an IP Address to the loopback adapter. You should then be able to work even when not connected to the network.
Mudassar Choudhry. -
ORA-01031 insufficient privileges error when selecting from a view
OK I think this might be a dumb question but I can't figure it out:
User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
User John can issue select * from FRED.table1; and it works just fine.
User John has then been granted SELECT privilege (directly, not via a database role) to schema
MARK.view1;
MARK.view1 only selects from FRED.table1. No other tables are in the view1.
Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
Any thoughts?
Oh, Oracle EE 10.2.0.4JSebastian wrote:
OK I think this might be a dumb question but I can't figure it out:
User John has been granted SELECT privilege (directly, not through a database role) to schema FRED.table1;
User John can issue select * from FRED.table1; and it works just fine.
User John has then been granted SELECT privilege (directly, not via a database role) to schema
MARK.view1;
MARK.view1 only selects from FRED.table1. No other tables are in the view1.
Schema MARK can successfully query the views. SELECT * FROM VIEW1 returns results.
I also checked the MARK schema to ensure that it has been granted SELECT on FRED.table1 directly which it has.
Now, when logged into schema John, I try SELECT * FROM MARK.VIEW1; and I get ORA-01031 insufficient privileges error.
I'm not sure how to troubleshoot this. If John is granted SELECT ANY TABLE, it of course works but I don't want John to have that powerful priv.
To recap, John has SELECT on both MARK.VIEW1 and the table which VIEW1 selects from (FRED.TABLE1).
John can select from FRED.TABLE1 no problem but receives a privilege error even though John has SELECT on MARK.VIEW1.
Any thoughts?
Oh, Oracle EE 10.2.0.4Are you certain John has been granted select on Mark.view1 ? In order for that to work Mark would have to have been given select on Fred.table1 WITH GRANT OPTION ... otherwise the grant would fail and then John would not be able to select from the view because the grant was never successfully issued.
Here's a basic test case (which i think conforms to what you've outlined) to get it working.
drop user u1 cascade;
drop user u2 cascade;
drop user u3 cascade;
create user u1 identified by u1;
grant connect, resource to u1;
create user u2 identified by u2;
grant connect, resource, create view to u2;
create user u3 identified by u3;
grant connect, resource to u3;
connect u1/u1@orcl
create table test1 (col1 number);
grant select on test1 to u2 with grant option; --> this is the important part
grant select on test1 to u3;
connect u2/u2@orcl
create view test2 as select * from u1.test1;
grant select on test2 to u3;
connect u3/u3@orcl
select * from u2.test2; -
TS3212 Insufficient privileges error when trying to install itunes in Windows 7
I'm trying to install itunes on a machine with windows 7 and keep getting the error that installer has insufficient privileges to access this directory c:\programdata\microsoft\windows\startmenue\programs\itunes. I am logged in as an administrator. Does anyone know how to fix this. Thanks,
After searching through this forrow i found this
http://support.microsoft.com/kb/946414
After running the Fix-It, i had no problem installing iTunes -
ORA-01031:Insufficient Privileges error when I am trying to use ALERT_QUE
Hi,
I am working on SYS.ALERT.QUE for getting system alerts. I am using ODP in C# for connecting to Oracle database with username = SYSTEM, but when I am trying to enque or deque any message from SYS.ALERT.QUE, its gives an error ORA-01031:Insufficient Privileges. I am not able to understand how to assign SYSDBA privileges to SYSTEM and access ALERT_QUE for getting system alerts. I am posting my code below, plz have a look and let me know whats wrong with the code. I am able to connect to databse using SYSTEM, do I need to use username = SYS for accesing ALERT_QUE of database? Plz let me know whats the solution.
OracleConnection con = new OracleConnection(constr);
// Create queue
OracleAQQueue queue = new OracleAQQueue("sys.alert_que", con);
// Open connection
con.Open();
// Begin txn for enqueue
OracleTransaction txn = con.BeginTransaction();
// Set message type for the queue
queue.MessageType = OracleAQMessageType.Raw;
// Prepare message and RAW payload
OracleAQMessage enqMsg = new OracleAQMessage();
byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
enqMsg.Payload = bytePayload;
OracleAQAgent[] agent = new OracleAQAgent[1];
agent[0] = new OracleAQAgent("SUBSCRIBER1");
enqMsg.Recipients = agent;
enqMsg.SenderId = new OracleAQAgent("SENDER1");
// Prepare to Enqueue
queue.EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
// Enqueue message
queue.Enqueue(enqMsg);
The code throws exception at line "queue.Enqueue(enqMsg);" saying ORA-01031:Insufficient Privileges
Edited by: 916462 on Feb 27, 2012 3:31 AMHi Sudheendra,
Thanks a lot, that worked. Now I am facing one more new issue, when I am trying to deque message from ALERT_QUE which is oracle maintained queue for alerts, I am getting an error "ORA-25215:User data type and queue type do not match". Is there something wrong with my code like Message type, payload and all. I am very new to Oracle database so I don't have idea about this details. Can u plz help me in solving this.
OracleTransaction txn = con.BeginTransaction();
// Set message type for the queue
queue.MessageType = OracleAQMessageType.Raw;
// Prepare message and RAW payload
OracleAQMessage enqMsg = new OracleAQMessage();
byte[] bytePayload = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
enqMsg.Payload = bytePayload;
OracleAQAgent[] agent = new OracleAQAgent[1];
agent[0] = new OracleAQAgent("SUBSCRIBER1");
enqMsg.Recipients = agent;
enqMsg.SenderId = new OracleAQAgent("SENDER1");
// Begin txn for Dequeue
txn = con.BeginTransaction();
// Prepare to Dequeue
queue.DequeueOptions.Visibility = OracleAQVisibilityMode.OnCommit;
queue.DequeueOptions.Wait = 10;
queue.DequeueOptions.ConsumerName = "SUBSCRIBER1";
// Dequeue message
OracleAQMessage deqMsg = queue.Dequeue();
txn.Commit();
Edited by: 916462 on Feb 28, 2012 9:55 PM -
"insufficient privileges" errors when installing iTunes 10.0 (Bonjour)
I attempted to install iTunes 10.0. Initially I used the auto-installer and I received the following errors:
"The installer has insufficient privileges to access this directory: C:\Program Files\Bonjour. The installation cannot continue. Log on as administrator or contact your system administrator."
Then the same error with the following file:
"C: \Program Files\Common Files\Apple\Mobile Device Support\com.yahoo.go.sync.client.resources\...\Windows."
I was given two options to either "retry" or "cancel" --"retry" just keeps throwing the error up. I was forced to click "cancel" both times.
Following hitting cancel twice I got an "installation interrupted" message telling me that the installation had failed.
Following the errors recommendation, I logged off and relogged on as the administrator. Then I downloaded iTunes 10.0 from the Apple web site and attempted to install it manually as the administrator while logged on as the administrator (right click the program "run as Administrator"). I received all the same errors and the same failed installation.
When I attempt to go into the program files and alter the privileges to bonjour or the Apple\mobile device support I get a “you do not have permission to view or edit this object’s permission settings” even when logged on as the administrator. It appears that both are Apple programs probably installed with a previous version of iTunes so I am not too sure why the tight security and why I do not have the ability to modify them.
I am running Windows 7 (32bit). Any assistance with getting iTunes 10.0 installed correctly would be greatly appreciated.Hi there, this is what had to do.
First a bit background. I got the same errors. Insufficient privies for this and that. Logged in as Admin, same problem. Gave my user account Admin rights, still same problem.. now it actually said only 'Creator/Users' can install etc.
So long story short deleting, rebooting, magic... all failed.
1. I uninstalled all Apple software!!
2. yes all of it. Uninstall programs. Uninstalled Apple stuff, then Bonjour then Quick time.
3. tried to delete folders that were left behind, got smacked with insufficient rights to do so.
4. Logged in as Admin (that will teach ya Win 7)
5. Used Unlocker and LockHunter. I was able to unlock/kill process of some files and was able to delete some folders, but not all (grrrr)
6. disabled AntiVirus/Spyware program
7. that allowed me to delete all folders (wth? .. okay then)
8. went into registry and Searched for 'Apple'
9. fainted when I saw hundreds of Apple entries.
10. deleted all obvious 'Apple', 'MobileMe' and 'Quicktime entries', take care not to delete 'Applet...' stuff. Not the same. Like I said I only got rid of obvious Apple software stuff.
11. finally I ran CCleaner (great app, get it and donate a couple of $$) and had it scan, back up and clean my registry.
12 rebooted and logged in as me/user
13 checked /program files to make sure bonjour, apple and quicktime was really gone
14. downloaded latets itunes
15. installed itunes, did my back ups and updated ipod software
man that only took me a couple of hours -
User got insufficient privileges error when login
Hi,
Few users got below error message only at the time of login, even if on different machines which is fine for other users.
You have insufficient privileges for the current operation. Please contact your system administrator.
We suspect this should due to some configurations on these specific users are not correct, kindly advise if you have any clues.
Thanks in advance.
Karliao
A snippet of Apache logs
1.1.1.161 2.2.2.239 - - [06/Nov/2012:04:50:38 +0000] "GET /OA_HTML/AppsLogin?requestUrl=https%3A%2F%2Finstance.domain.com%3A443%2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffnd%2Fframework%2Fnavigate%2Fwebui%2FHomePG%26homePage%3DY%26OAPB%3DFWK_HOMEPAGE_BRAND%26transactionid%3D914327635%26oapc%3D2%26oas%3DbcuTvNRfUNdg8RF0Gci43g..&cancelUrl=https%3A%2F%2Finstance.domain.com%3A443%2FOA_HTML%2FAppsLogin&errText=You+have+insufficient+privileges+for+the+current+operation. HTTP/1.1" 302 443 1269 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB7.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
192.81.123.69 2.2.2.239 - - [06/Nov/2012:04:50:39 +0000] "GET / HTTP/1.1" 200 443 1289 "-" "Xymon xymonnet/4.3.7"
1.1.1.161 2.2.2.239 - - [06/Nov/2012:04:50:39 +0000] "GET /OA_HTML/AppsLocalLogin.jsp?requestUrl=https%3A%2F%2Finstance.domain.com%3A443%2FOA_HTML%2FOA.jsp%3Fpage%3D%2Foracle%2Fapps%2Ffnd%2Fframework%2Fnavigate%2Fwebui%2FHomePG%26homePage%3DY%26OAPB%3DFWK_HOMEPAGE_BRAND%26transactionid%3D914327635%26oapc%3D2%26oas%3DbcuTvNRfUNdg8RF0Gci43g..&cancelUrl=https%3A%2F%2Finstance.domain.com%3A443%2FOA_HTML%2FAppsLogin&langCode=US HTTP/1.1" 302 443 1983 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB7.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)"
...Hi,
Thanks a lot for keep following.
Yes, ICX_PARAMETERS.SESSION_COOKIE_DOMAIN is empty.
And it should not be a server issue, because it's just happened to only few users, right ? -
Memory error when executing package through SQL Server Agent.
Hi!!
I have a problem with a package (SSIS) when run on SQL Server Agent.
The job is configured
with the proxy and the account has the
required privileges. Runs perfectly
if the job runs manually, but if I let it
run on schedule I get a memory error.
Also if I run the
package through DTExec.exe or VS2008,
everything runs smoothly.
I am using SQL2008R2.
If someone has something similar happened
and have found how to fix it please i need
to know how.
Thank you.This is most likely your issue:
http://support.microsoft.com/kb/824422 -
Getting HeapDump on out of memory error when executing method through JNI
I have a C++ code that executes a method inside the jvm through the JNI.
I have a memory leak in my java code that results an out of memory error, this exception is caught in my C++ code and as a result the heap dump is not created on the disk.
I am running the jvm with
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\x.hprof
Any suggestions?
ThanksI'll rephrase it then.
I have a java class named PbsExecuter and one static method in it ExecuteCommand.
I am calling this method through JNI (using CallStaticObjectMethod). sometimes this method causes the jvm to throw OutOfMemoryError and I would like to get a heap dump on the disk when this happens in order to locate my memory leak.
I've started the jvm with JNI_CreateJavaVM and I've put two options inside the JavaVMInitArgs that is used to create the Jvm. -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath=C:\x.hprof
which supposed to create a heap dump on the disk when OutOfMemoryError occurs.
Normally if I would execute normal java code, when this exception would occur and I wouldn't catch it the Jvm would crash and the heap dump would be created on the disk.
Since I need to handle errors in my C++ code I am use ExceptionOccured() and extracts the exception message from the exception it self and write it.
For some reason when I execute this method through JNI it doesn't create the dump. -
Get ORA-01031: insufficient privileges error, but only when using dbstart.
I am getting ORA-01031: insufficient privileges error, but only when using dbstart. the listener starts but not the database. How come I can start it from SQL prompt but not from dbstart scripts as the oracle user?
[oracle@mallard bin]$ ./dbstart
Processing Database instance "gf44": log file /prod/oracle/10/startup.log
[oracle@mallard bin]$
Log file:
Wed Aug 20 10:15:02 CDT 2008
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 20 10:15:02 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> ERROR:
ORA-01031: insufficient privileges
SQL> ORA-01031: insufficient privileges
SQL>
/prod/oracle/10/bin/dbstart: Database instance "gf44" warm started.
>
oratab file:
gf44:/prod/oracle/10:Y
dbstart file section:
# See if it is a V6 or V7 database
VERSION=undef
if [ -f $ORACLE_HOME/bin/sqldba ] ; then
SQLDBA=svrmgrl
VERSION=`$ORACLE_HOME/bin/sqldba command=exit | awk '
/SQL\*DBA: (Release|Version)/ {split($3, V, ".") ;
print V[1]}'`
case $VERSION in
"6") ;;
*) VERSION="internal" ;;
esac
else
if [ -f $ORACLE_HOME/bin/svrmgrl ] ; then
SQLDBA=svrmgrl
VERSION="internal"
else
SQLDBA="sqlplus /nolog"
fi
fi
Permissions of file:
[oracle@mallard bin]$ ls -la dbstart
-rwxrwxr-x 1 oracle oinstall 10407 Aug 19 12:27 dbstart
[oracle@mallard bin]$
User permissions:
[root@mallard 10]# id oracle
uid=503(oracle) gid=503(oinstall) groups=503(oinstall),504(dba)
[root@mallard 10]#
I can start the listener manually using "./lsnrctl start" and start the database manually from sql prompt using "SQL>startup" (as sysdba) with no problems. this only happens when using dbstart file. I am logged in as oracle user and all environment variables are set
Thank you for any help you could provide.I have the same problem, but i don't want insert this string
Connect sys/{password} as sysdbaI have deployed an Oracle 10g with os SunOS
$ uname -a
SunOS DB02 5.10 Generic_141444-09 sun4v sparc SUNW,Sun-Blade-T6320
I can connect with sys/password, but I can't login with
$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jan 7 15:19:50 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect / as sysdba
ERROR:
ORA-01031: insufficient privilegesthe the startup and dbshut don't work.
Someone maybe help me?
Thanks,
Regards.
Lain -
SQL Workshop insufficient privileges error :-S
Hi everyone,
The problem I have is when I try to compile a procedure, function or whatever I get the ORA-01031: insufficient privileges error.
I tryed to give the DBA role to the APEX_PUBLIC_USER without success.
I tryed to grant the "execute" (on an especified procedure or function for testing purposes) privileges to that user and I still getting the error. :-S
I can compile any object from the SQL Navigator but APEX.
What am I missing?
Hope u could help me :)
Thanks in advance,
Fury Morales.You should not be messing around with the grants made to the APEX product accounts (FLOWS_xxx etc).
Scott's suggestion is to have your workspace parsing schema be granted the 'create procedure' privilege.
From sqlworkshop you can the run query below to determine the 'system' privileges granted to the workspace schema
select privilege from user_sys_privs;
Varad
Edited by: varad acharya on Jul 28, 2009 4:32 PM
Maybe you are looking for
-
11i RW-50004 while creating control file...
Dear all, Kindly let me know what this log file sys... I am trying to install 11i on OEL4.6 with 2GB RAM in VMware for Important test purpose. While creating control file in second stage i am getting this Error:,, RW-50004 : Error code received when
-
I loaded the new version of Outlook and when I get an email with a link attached, when I click to open.. I get a screen to install Chrome.. How do I get rid of that and let Firefox open the link.
-
Deleted Trust still coming in Microsoft_DomainTrustStatus query
Hello Guys, I am facing a strange issue, I have deleted a stale trust from Active directory Domain And Trust and don't see its TDO/Trust accounts in ADSIEDIT, but still the trust name is coming up in the wmi query of "Microsoft_DomainTrustStatus" cla
-
Update of Office Pro 2013 causing reboot
ZCM 11.2.3 monthly update 1. Windows 7 computer with Office 2013 installed. My computer is receiveing the same updates every day for Office Professional version 2013 (about 25 updates) and then asking to reboot. I'm not associated with any updates, p
-
Help please, with Satellite L305-S5946
Hi Laptop wont start - I keep getting this msg: Windows failed to start. A recen hardware or software change may be the cause. Gives me option to Launch start up repair or start Windows normally. Neither will work for me If I click on launch start up