Insufficient private error when creating a materialized using link DB view!
HelloI have a two db1 and db2 databases.
I created a link to database db2 to access schema user1 in db1.
When I try to create a materialized view by accessing the user1 user "user2" using table in the db2 database, I get error "ORA-1031: insufficient privilege.
User2 has privileges 'create view', 'create any view', 'create a materialized view' etc.
I am able to select the data in the table using the database link, but creating a materialized view gives this error.
I want to know if the "user1" user should be granted no privilege to User2, if so how is it possible that user2 dosent exist in db1.
IE I would order something like ' grant select on user1.table to user2@db2 "(ce travail dosent comme il dit user2@db2 dosent existe, bien évidemment par sa prise user2@db2 comme un nom d'utilisateur dans le schéma de db1)".
or is this a problem with User2 in the db2 database privileges, if so, what are all the privileges that have to give User2 in db2 schema.
Kind regards
Hello
You can access the table directly using the link db...?
You create the MV on the local table...?
try to check whether or not the following privileges are
CREATE A MATERIALIZED VIEW
CREATE TABLE
CREATE VIEW
UNLIMITED TABLESPACE and check the following
* "CREATE A MATERIALIZED VIEW & SELECT ANY TABLE."
try and see
-Pavan Kumar N
-ORACLE OCP - 9i / 10g
https://www.oracleinternals.blogspot.com
Tags: Database
Similar Questions
-
Re: "insufficient privileges" error when you run the Java stored procedure in another schema
I get an "insufficient privileges" error when you run the Java stored procedure in another schema, see details below. I don't know what are missing privileges (I already granted the EXECUTE privilege), suggestions? -Thank you.
Define a simple java class and deploy it as a Java stored procedure to test:
Schema: User1
test of the package;
public class HelloWorld {}
public HelloWorld() {
Super();
}
public static String Hello () {}
Return "HELLO";
}
}
CREATE or REPLACE FUNCTION HELLO RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME ' test. HelloWorld.hello () return java.lang.String';
Grant execute on USER2 HELLO
Test the Java stored procedure through the PL/SQL function call (in the same schema):
Schema: User1
SET SERVEROUTPUT ON
DECLARE
v_Return VARCHAR2 (200);
BEGIN
v_Return: = User1. HELLO;
DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);
END;
anonymous block filled
v_Return = HELLO
Test the Java stored procedure through the PL/SQL function call in a different pattern:
Schema: USER2
SET SERVEROUTPUT ON
DECLARE
v_Return VARCHAR2 (200);
BEGIN
v_Return: = User1. HELLO;
DBMS_OUTPUT. Put_line ('v_Return =' | v_Return);
END;
Error report-
ORA-01031: insufficient privileges
ORA-06512: at "User1." HELLO', line 1
ORA-06512: at line 4 level
01031 00000 - "insufficient privileges".
* Cause: An attempt was made to change the user name or password
without the privilege appropriate. This error also occurs if
trying to install a database without the need for employment
access privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
If the user has been granted the privilege necessary for a higher label
that the connection is active.
* Action: Ask the database to perform the operation or grant administrator
the required privileges.
For users Trusted Oracle get this error, well that granted the
the privilege that is suitable for the top label, ask the database
administrator to grant the privilege to the appropriate label.
You have created the function with AUTHID CURRENT_USER, which means that the function is executed with the rights of the applicant (but not with the rights of the author). This means that the applicant must have grants (directly or through roles) on all used/accessible objects in the service. In your case the user USER2 has not granted with EXECUTE on the class/source Java test. Class HelloWorld, causing the ORA-01031 exception. You create service without AUTHID CURRENT_USER (i.e. with AUTHID DEFINE, which is by default, if you do not have a specific reason to use AUTHID CURRENT_USER) or grant EXECUTE on JAVA test SOURCE. Class HelloWorld to User2.
Dimitar
-
Hi I'm new to OFA. I am trying to create a master-details form based on the example given on Youtube (but using my own paintings).
I have already defined in table colums.
AM code is as follows:
Public Sub CreateEmailHdrRow()
{
xxVmmcSendEmailDefHdrVOImpl vo = getxxVmmcSendEmailDefHdrVO1();
String s = "Test";
Line = vo.createRow ();
If (!) VO.isPreparedForExecution ())
{
vo.setMaxFetchSize (0);
}
row.setAttribute ("EmailDefName", s);
row.setNewRowState (Row.STATUS_INITIALIZED);
}
When I run, the error occurs at the level of line (rank rank = vo.createRow ();)
Error message: oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for xxVmmcSendEmailDefHdrEO line.
Any help is appreciated.
Anjan,
Please check that the type of the CreatedBy attribute is a number representing the id in FND_USER and not the actual text of the name of the user. Standard Oracle columns that use a number for this value not varchar.
Kristofer Cruz
-
I can't use windows update. I get an error when I try to use it.
I can't use windows update. I get an error when I try to use it. Someone knows how to solve this problem
Original title: I have a desktop pc with windows xp, I can't use windows update. An error when I try to use it. Someone has any idea how to solve this problem.
You must be at Service Pack 3 level before you can use Windows updates.
To determine which service pack is currently installed on your computer, follow these steps:
- Click Startand then click run.
- Copy and paste, or type the following command, and then click OK:
winver
A dialog box displays the version of Windows and the service pack that is currently installed on your computer.
If you haven't already done so, you will need to install the SP2 and SP3 (SP1 note no longer exists).
How to obtain the latest Windows XP service pack
http://support.Microsoft.com/kb/322389
SP2 - http://www.microsoft.com/en-us/download/details.aspx?id=28 (for single PCs too)
For Windows XP Service Pack 2 installation procedure
http://support.Microsoft.com/kb/875364
Steps to take before you install Windows XP Service Pack 3 http://support.microsoft.com/kb/950717
It is stated in "How to obtain the latest service pack XP" is.
If you have problems obtaining the service pack from Windows Update, you can download the package of standalone update from the Download Center. This page will say that this installation package is intended for it professionals and developers. However, you can download this file safely. The following file is available for download from the Microsoft Download Center:
See also: http://support.microsoft.com/kb/2497281
April 8, 2014, support and updates for Windows XP will be more available. Don't let not your PC not protected.
-
I received the "low disk space error" on a hard drive of the virtual machine dynamic expanding. I have increased my space of virtual hard disk using "My Computer" > manage > storage > "Disk management" and choose "Attach VHD" then resizing to max available (64 GB), and now I can not start the virtual machine. It gives the error: encountered an error when you try to use one of its virtual hard disks. Help?
Hi NatalieFoster,
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums to get help:
-
Hi all
I get the following error when executing the Page create purchase orders. I extended the standard EntityObject class: Purchase Order Header to my EO custom, make one here to this EO origin.
oracle.jbo.RowCreateException: Houston-25017: error when creating a new entity for CustomPurchaseOrderHeaderEO line
Thank youHi SumitSharma,
Added the following line to the file Extended Entity Object.xml
"DefClass ="oracle.apps.fnd.framework.server.OAEntityDefImpl"xx.oracle.apps"below the RowClass ="... "package line.This solved my error, but I can't do it this way is fair or unfair suggestions.
Thank you
Published by: 995022 on May 14, 2013 22:13
-
Error when creating a new DAC connection using the MSSQL connection type
Hello
I am trying to create a connection DAC, i.e. a new repository DAC in the SQL Server 2008 database.
Version of the DAC: 10.1.3.4.1
Database: SQL Server 2008
I downloaded from the link below sqljdbc4.jar file and placed it in the D:\orahome\10gR3_1\bifoundation\dac\lib folder.
[http://www.microsoft.com/en-us/download/details.aspx?displaylang=en & id = 11774]
I entered all the details correctly to the name of the database, the database host, port of the database. I created a new file for authentication.
I get error when I try to test the connection below.
Driver MESSAGE: MSSQL not available!
CLASS EXCEPTION: java.lang.IllegalArgumentException
com.siebel.etl.gui.login.LoginDataHandler$ LoginStructure.testConnection (LoginDataHandler.java:512)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$ Executor.run (ConnectionTestDialog.java:290)
: CAUSE:
MESSAGE: com. Microsoft.SqlServer.JDBC.SQLServerDriver
EXCEPTION CLASS: java.lang.ClassNotFoundException
java.net.URLClassLoader$ 1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged (Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:276)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
java.lang.Class.forName0 (Native Method)
java.lang.Class.forName(Class.java:169)
com.siebel.etl.gui.login.LoginDataHandler$ LoginStructure.testConnection (LoginDataHandler.java:510)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$ Executor.run (ConnectionTestDialog.java:290)
The error seems to be a problem of connectivity to SQL Server. I use the correct jar file?
Please, help me to solve this problem. Appreciate the help given on this forum earlier.
Thank youAdd
.\lib\sqljdbc4.jar
at the end of the line beginning with SQLSERVERLIB in the file config.batPls correct brand
-
Original title: getting the error while creating a new partition
here to create a new partition get the error "the operation you selected will convert the disc selected basic to dynamic disk... etc" Please help.
I would like to join the screenshot of the error, how?
Hello
1 have had any changes made on the computer before the show?
2. how many partitions are there currently on the computer?
3. how many hard disks on the computer do you use?
4. when exactly you get the error message?
I suggest you refer to the article and try to follow the steps and check if you are able to create a partition:
Create a new Partition on a hard disk in Windows 7
http://TechNet.Microsoft.com/en-us/magazine/gg309170.aspx
I also suggest you the link and attach a screenshot of the screen.
-
2072 AND 2126 ERROR when you try to use the printer
ERROR 2072 AND 2126 WHEN YOU TRY TO USE THE PRINTER?
Hello
1. What is the brand and model of the printer?
2. What is the exact error message you get?
3 when was the last time you were able to use the printer?
4 did you a recent software or changes to the material on the computer?
Method 1:
I suggest you to go through the steps mentioned in the link and the Coachman.
Printer in Windows problems
http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows
If the issue does not get resolved, then you can move on to method 2.
Method 2:
Tips for solving common driver problems
http://Windows.Microsoft.com/en-us/Windows7/tips-for-fixing-common-driver-problems
Hope this helps and keep us informed if you need help.
-
RCU throws an error when creating schema for IOM
Hi Experts,
I use DB 11.2.0.3.0 and operating system Red Hat Enterprise Linux Server release 5.4 (Tikanga) 64-bit. I installed the patches 12395110_111150_LINUX Group's regional coordination unit. When I installed it shows the error and I made a symbolic link like ln s /usr/java/jdk1.6.0_38 jdk, then the installation begins and I created OAM, UCM, SOA patterns and she completed successfully, but an error of IOM and the error is
RCU - 6130:Action has failed-RCU - 6136:Error then that he was trying to run the SQLPlus action. Can someone suggest a solution.
Maybe the next note can help:
Note 1469169.1 - Oracle Fusion Middleware repository utility 11 g creation fails with UCR-6130 RCU-6136 on Oracle Enterprise Linux 6
Thank you
Eugen
-
Get the error when creating indexes in RAC environment in 11 g
Hi all
I'm new concept CARS when creating index get below error
Error: AX_DISABLE_HIST - a SQL error. Position of the error: 0
Return: 12801 - ORA-12801: error reported in the P146, proceeding parallel query server
ORA-12853: insufficient memory for buffers PX: run 425904K,.
Max needed 11105280 K ORA-04031: unable to allocate 32792 bytes of memory ('', 'unknow shared pool
UNIQUE INDEX CREATE PS_AX_DISABLE_HIST WE PS_AX_DISABLE_HIST (EMPLID) TABLESPACE PSINDEX STORAGE
(MAXEXTENTS THEN 65536 40000 INITIAL UNLIMITED PCTINCREASE 0) PCTFREE 10 NOLOGGING PARALLEL
am not able to understand, it's this problem is related to the index or sga memory. can any time help me on that.
Thanks in advance
Prabhakar
Published by: 889571 on May 16, 2013 07:41You probably need SGA more because you have a lot of Parallels/slave servers in your instance. I see that you have at least 146. How many processors do you have? Do you need so many parallel servers?
Lordane Iotzov
-
Error when creating an application of FDM on SQL Server 2005
Hello
We receive this error when you create an application of FDM on SQL Server 2005
Error: EPMCSS-07003: unable to validate identity. Invalid identity. Verify the identity. [SET_ROLES_LIST]
We use the integration of Windows system even if we also tested with the user's.
Any ideas?
Thank youBased on the error message that seems to have a problem of Shared Services. Check that the "ADMIN" account is used for the connection of HSS and that you are using "ADMIN" to create the application and see if the same error is returned.
-
PL/Sql error when creating a trigger
Hello everyone m trying to set a trigger whose goal is to not allow any update insert or remove on the work table, if the day is Sunday. I tried this code but it gives me error
Pls helpcreate or replace trigger No_work_on_Sunday After insert or update or delete on Work When owner='MAX' for each row begin if (select to_char(sysdate,'D')=1) then raise_application_error(-20001,'no work on sunday'); end if; end; on Work when owner='MAX' * ERROR at line 3: ORA-04077: WHEN clause cannot be used with table level triggers
Published by: 781207 on July 16, 2010 07:43create or replace trigger No_work_on_Sunday After logon on DATABASE begin if to_char(sysdate,'D')=1 then if ora_login_user IN ('Jake','MAX') THEN RAISE_APPLICATION_ERROR(-20001,'No work on sunday'); end if; end if; end; /
SY.
-
1068 error when I try to use Windows
When you try to use Windows I askd to my RTC for auto, when this operation and clicking on start I get 'Error 1068'.
I CBA find any help on the windows site. Anyone?Hello Smith
Can you please tell us which model of laptop you have and be so kind and let me know what are RTC?
Are you wrote on the subject of Vista repair tool - http://support.microsoft.com/kb/940520/en-us?Such a thing is not for me. I mean when the laptop has factory settings all muss work well. Have you noticed some problems with Vista before?
-
Error when create control LabVIEW FPGA CompactRIO
I have error when you try to create a new model of LabVIEW FPGA CompactRIO control project. I tried with LabVIEW 2014 and 2014 SP1 update. This error always occurs.
Please help me with this.
Kind regards
Thang Nguyen
Hello
I fix the problem by removing LabVIEW 2014 SP1 and reinstall again. After the reinstallation of LabVIEW, I create the project template.
Kind regards
Maybe you are looking for
-
Qosmio G20: How to replace the keyboard
DOES ANYONE KNOW HOW TO REPLACE THE KEYBOARD ON A QOSMIO G20?
-
Hello! Nice day! I have a hp pavilion 2013tx g4 and I intend to buy a cooling pad because I often use my laptop in the long duration of time. can you give me a few fan coolers you know / tested that work with my machine. I ask this because I read som
-
Vista - error code 80070490 (how to remove an update?)
How to install the rollup for Windows Vista media update when all I get is error code 80070490? I tried troubleshooting but nothing has worked. Help!
-
I think that I have disabled the sound to the tv that is connected to my computer with an HDMI. Now I don't know how to turn it back on. The only sound is coming through my computer when you watch the tv. Can anyone help?
-
I can't download photos from Photoshop Cs6 or Lightroom 5 to Wordpress
I can't download photos from Photoshop Cs6 or Lightroom 5 to Wordpress either. When I export with lightroom 4 trial, no problem.Social media marketing is an important part of my business as a photographer, so it is very important for me to do this jo