Database open for read-only access ORACLE

while building a universe with a dblink betweens oracle databases, i try to create a derived table in the form
select field1 from table@db_to_db2
but i get the following message:
Exception: DBD, ORA-16000: database open for read-only acces State N/A.
I understand the statement "Set Transaction for read only"  must be set before any transaction during the session, but still dont know how to trigger it in bo universe designer.
Can someone know how to solve it?

I suggest you fill-in the BEGIN_SQL parameter on the Universe to turn on the read-only transaction.
Here is an excerpt from the Universe Designer guide:
The BEGIN_SQL parameter allows you to prefix SQL statements with the same parameters each time a SQL statement is generated.
1. Open the "Universe Parameters" dialog box in Designer.
2. Click the Parameter tab.
3. In the "Parameter" list, select the BEGIN_SQL parameter and enter the
appropriate prefix commands.
4. Save the settings.
5. Save the universe.

Similar Messages

  • Access Database Opens in Read Only for Users

    I just moved an Access Database to a new server (from Server 2003 to Server 2012). From the server, using Office 2010, I can open the database without issue but, if a user try's to open the same database from either a shortcut or mapped with Office 2010,
    they get the message that the database is Read Only. Did I miss a step in moving the database to the new server? Thanks

    Hi,
    Did your user get the error message "You are trying to open a read-only database..."? If it was, please try the following method:
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Resource:
    http://support.microsoft.com/kb/324666/en-us (It also applies to Access 2010)
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Database Open in Read Only Mode

    Hi
    I would like to open database in read only mode
    like
    SQL> startup mount
    SQL> ALTER DATABASE OPEN READ ONLY
    this will open database for read only mode for all user
    i want to give read write access on database to one user
    any idea how i can proccess
    Thanks
    Chetan

    Hi,
    Alter database open read only;
    this should work fine and everything will be in read only mode. Hence if any auditing is going on and audit_trial=db then it fails to open the database in read only mode.
    If you want to control only users to stop writing to it, you may remove tablespace quotas for those users. Also, you may control them through grants. Remove any current grants assigned to them or to roles through which the grants are assigned.
    Several ways to do this. If you tell us the particular scenario then we might help in getting a solution.
    Regards,
    Vasu.

  • Database opens as read only

    I have installed the application of mine to the my computer and the other computer that are running on Windows 7 64 bit and all of the function are worked fine (adding the data to the database through system, delete a single data or clear all of the data from
    the database through system, edit the data in the database through system and look at whether the user has correct login username and password from the database through system).
    But, when I installed the application of mine to the other computer that are running on Windows 7 32 bit, all of the functions not worked (object reference not set to the instance of the object when I want to adding the data to the database), but the user can
    login to the system (look at whether the user has correct login username and password from the database through system), but all of the functions except that (login to the system), are not worked, and when I open the database, the database has been opened
    as read-only. This problem has been bugged me, because I have been searching what's is the problem and cannot find the problem at all.
    Anyone know what is the problem? Is it the operating system that restricted the database to be accessed by 64 bit only?
    Thank you very much!
    Your answer much appreciated!

    Hi,
    Change the database to
    Read-write mode.
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • How do I save excel file with password for read only access ?

    Hi
    I am trying to save an excel file with a password to make it read only when opened
    using OLE2 . I am having a problem with the parameter list. This is my code that does
    work.
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\Reports\Excel\File.xls');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 'TEST');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 1);
    I also have the following code at the beginning of the program to suppress dialogs.
         OLE2.SET_PROPERTY(application,'DisplayAlerts', 'FALSE');
         ole2.set_property(application,'Visible', 'false');

    Hope it help.
         -- Begin : Protect your worksheet
         args := OLE2.CREATE_ARGLIST;
         OLE2.ADD_ARG(args,yourpassword); -- choose your password
         OLE2.INVOKE(worksheet, 'Protect', args);
         OLE2.DESTROY_ARGLIST(args);
         -- End : Protect your worksheet
         -- Begin : Save and close worksheet
         OLE2.INVOKE(workbook, 'Save');
         OLE2.INVOKE(workbook, 'Close');
         -- END : Save and close worksheet

  • Query faild against database that is opened in read only mode

    ORA-16000: database open for read-only access
    Hi ,
    I am quering against a database that been opened in read only mode (10g version)
    SQL> select controlfile_type,open_mode,database_role from v$database;
    CONTROLFILE_TYPE OPEN_MODE DATABASE_ROLE
    STANDBY READ ONLY PHYSICAL STANDBY
    Currently when selecting against this database
    i am getting the following error:
    SELECT PS_RF_PROVGRP_VW.SETID, PS_RF_PROVGRP_VW.PROVIDER_GRP_ID, PS_RF_PROVGRP_VW.NAME1,
    PS_RF_PROVGRP_VW.STATUS, PS_RF_PROVGRP_VW.SYNCID, PS_RF_PROVGRP_VW.SYNCDTTM
    FROM PS_RF_PROVGRP_VW
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-16000: database open for read-only access
    The owner of the object is PSSYS and i am running the queries as user INFORMIX.
    select owner,object_name,object_type from dba_objects where object_name ='PS_RF_PROVGRP_VW';
    OWNER OBJECT_NAME OBJECT_TYPE
    INFORMIX PS_RF_PROVGRP_VW SYNONYM
    PSSYS PS_RF_PROVGRP_VW VIEW
    User informix have "SELECT ANY TABLE" privilage
    In the source database (e.g: not the cloning one) the queries results are returning susseccfully ,
    and only in the clonning the database the problem exists.
    Does someone have an idea what the problem could be ?
    Thanks.

    Hi
    Object can become invalid, if the underlying objects are dropped/invalidated.
    So even if you create or validate the underlying objects these objects by themself do not become valid. You have to either make them valid or you should use it atleast one time as select/desc or any other query so that Oracle implicitly make it valid.
    Your source datatabase has valid synonym because after dropping/creating you must have selected that synonym atleast one, but this selection procedure would be after you copied your data to the target database.
    Regards

  • Implement strategy for ASA on TACACS w/ restricted read-only access

    An ASA5550 will need to be configured to use TACACS AAA. Currently, the ASA is setup for local authentication. A couple of privilege 15 admin users and a few more privilege 5 read-only users.
    ASA 5550
    running ASA 8.2(2)
    using ASDM 6.3(5)
    authenticating to ACS 4.2
    The admin users and read-only users already have established TACACS usernames and are in established TACACS user groups for logging into routers/switches.
    What's the best way to implement configuration of the ASA and ACS server to maintain the same type of restrictions that's applied using the local database?
    1. Try and avoid the creation of a second TACACS username for the admin and read-only users.
    2. ACS allows restrictions on what devices can be access by users/groups. Possible to do reverse? Restrict what usernames can access a device in the ACS database.

    If you want to configure ASA for read-only access via tacacs then you have to do the following task
    ASA/PIX/FWSM Configuration
    In addition to your preset configuration, these commands are required on ASA/PIX/FWSM in order to implement command authorization through an ACS server:
        aaa-server authserver protocol tacacs+
        aaa-server authserver host 10.1.1.1
        aaa authorization command authserver
    On the ACS, you need to create command authorization set for only SHOW commands:
    http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#scenario2
    Associate command authorization set with user or group
    http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#asso2
    Regards,
    Jatin
    Do rate helpful posts-

  • Avoid read-only access at physical standby

    Hi!
    DB=11.2.0.2
    when I start the standby with
    SQL> startup
    the db is open read-only.
    Is there a way to configure the db so that startup command only mounts the db and start redo apply?
    this is the config:
    DGMGRL> show configuration verbose;
    Configuration - w
    Protection Mode: MaxPerformance
    Databases:
    w_01 - Primary database
    w_02 - (*) Physical standby database
    (*) Fast-Start Failover target
    Properties:
    FastStartFailoverThreshold = '30'
    OperationTimeout = '30'
    FastStartFailoverLagLimit = '30'
    CommunicationTimeout = '180'
    FastStartFailoverAutoReinstate = 'TRUE'
    FastStartFailoverPmyShutdown = 'TRUE'
    BystandersFollowRoleChange = 'ALL'
    Fast-Start Failover: ENABLED
    Threshold: 30 seconds
    Target: w_02
    Observer: ora
    Lag Limit: 30 seconds
    Shutdown Primary: TRUE
    Auto-reinstate: TRUE
    Configuration Status:
    SUCCESS
    DGMGRL> show database w_02
    Database - w_02
    Role: PHYSICAL STANDBY
    Intended State: APPLY-ON
    Transport Lag: 0 seconds
    Apply Lag: 0 seconds
    Real Time Query: OFF
    Instance(s):
    w
    Database Status:
    SUCCESS
    br
    Daniel

    If Data Guard is setup correctly the application is not losing data, you cannot read from it, but it will apply logs:
    Ex.
    /home/oracle:STANDBY >sqlplus "/ as sysdba"
    SQL> select * from BIGSHOW.CUSTOMER;
    select * from BIGSHOW.CUSTOMER
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    So even as the SYS user I cannot read from my test user's tables.
    ORA-01219 is expected when the standby is in this state.
    You can open READ ONLY if you have Active Data Guard, but generally that will cost you extra.
    OR, you can do thing to check your data:
    To open a standby database for read-only access when it is currently performing managed recovery:
    Cancel log apply services:
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Open the database for read-only access:
    SQL> ALTER DATABASE OPEN READ ONLY;
    At some point you have start the recovery again, you probably don't have an issue.
    If you want more peace of mind on this you have to setup a test Data Guard system and bang on it.
    Best Regards
    mseberg

  • Read Only access to UCCX server

      Hi,
    I would like to know if it was possible to create an account for Read Only access for server in UCCX 8.02.
    Saima

    Saima,
    Unfortunately no it is not, you have either Admin access or supervisor access. The admin access has full access and supervisor access allows configuration of the RM subsystem either foe own team or all teams.
    HTH,
    Chris

  • Read only access to J2EE related tools

    Hello,
    I would like to help our auditors access everything they need to check in the Java systems, but I am not ready to give them ADMIN accounts. That`s why I need some kind of read only access for them.
    So I would like to ask you if there is a SAP Note about the read only access roles for J2EE/ Java AS?
    I am afraid there is no such note available, so can anybody share any experience with granting read only access to the Java system? I know how to grant access to the whole NWA, but what about the rest?
    Examples:
    - is there a way how to grant read only access only to the UME?
    - is there a role for read only access to the portal PCD?
    - is there something similar for KM access?
    Or has anybody ever tried to split the admin roles into smaller pieces? Is there a description/ document how to do such thing?
    Thank you for your time and effort,
    cheers Otto

    Hi,
    thanks for trying, but I can use help.sap.com and was on that page before.
    Maybe if there were any examples there or better: if the whole thing would be more granular (I see no point in using roles starting with SUPER, containing ADMIN or ending with ALL). I am looking for roles for surgery or for auditing. I don`t want to give anybody these super/admin/all roles just like that.
    If you can suggest how to use that page, that would be cool. Otherwise I see no use.
    By the way: another question of mine about surgery: How to restrict access to download/ upload UME configuration file
    I would like to know how to controla access to this specific feature, nothing else.
    Thanks for the time and effort,
    cheers Otto

  • Can't get read-only access to my switches via http

    I set up a couple of users for read-only access to our switches via their web browsers. I set this up in Network Assistant. However when we try to log in, only a level 15 user is allowed to log in and there doesn't seem to be any way change this.
    I know in Network Assistant, you can choose which user level you want, but I don't see any way to do it via the web interface.
    What am I missing here?

    Implementing security within a switching environment is less intuitive than in a router. Switches, by design, tend to recognize only two levels of administrative access - user exec mode or privileged exec mode. Implementation of security at different access levels, level 15, etc, can be tricky and should be done at the command prompt, not in the GUI.
    You should reset your config and do not use Network Assistant for this purpose; it is "buggy."

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • How to assign read only access for a database to a single user?

    Hi All,
    I have created a login for one of the user , and i used deny view to deny that user access to any of the databases to be shown.Now, he cannot see any databases in the explorer window.
    My question is now i want to give this user permission ( read-only) to a single database. How can i do that? I have googled around and found some solutions but nothing is working.
    Can someone please help me with any suggestions.
    Thanks a lot for your time and suggestions in advance.
    Thanks

    Hi Bhanu,
    Thanks for your reply, I am not sure i got it. I have a user created with the name of 'msam_test' and if i login into management studio with this userid and password i dont see any databases showing up because i used the DENY View command to hide which is
    working fine.Now i just want to see only 1 database named 'suresh3_test' with a read only access to this database.
    I tried using your code in the below way
    USE [suresh3_test]
    CREATE USER [<msam_test>] FOR LOGIN [<msam_test>] WITH DEFAULT_SCHEMA=[dbo]
     exec SP_ADDROLEMEMBER 'DB_DATAREADER','<msam_test>'
    But i receive an error saying
    Msg 15007, Level 16, State 1, Line 3
    '<msam_test>' is not a valid login or you do not have permission.
    Msg 15410, Level 11, State 1, Procedure sp_addrolemember, Line 75
    User or role '<msam_test>' does not exist in this database.
    Can you please help me on this.
    Thanks

  • MS Access 2007 opening in read only for a client

    Hi all,
    I have a client that is using a shared database with 6 other people in their office. He is the first one to move to Windows 7.
    He can open the database without any problem, but it opens as read only. I've seen others with similar issues in this and other forums. I wondered if there are solutions out there for this?

    Smorley,
    > I have a client that is using a shared database with 6 other people in
    > their office. He is the first one to move to Windows 7.
    >
    Please ask in novell.support.netware.client.winnt-2x-xp and tell us what
    version of the client you are using.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • Generating EXPLAIN PLAN on a database which is opened in READ-ONLY mode

    Hi,
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    Thanks in advance.
    Best Regards,
    oratest

    oratest wrote:
    I am using Oracle 10.2.0.3 version.
    If my database is opened in READ-ONLY mode, means no insert/update/delete operations are permitted here.
    While generating EXPLAIN PLAN for any SQL, it does entries in PLAN_TABLE. But my database is opened in READ-ONLY mode, means no inserts can happen.
    So how can I generate EXPLAIN PLAN for my SQL in this condition?
    You can always do: "explain plan into some_table@remote_database" to avoid inserting into the local database. Unfortunately 10g added a sequence fetch to the "explain plan" code, and this is where the call would fail if you tried this remote approach on your version.
    Here's an idea I haven't tested. If you set up a database link from your production database to the read-only database, you could then do an "explain plan" in the production database for the SQL statement by changing every object reference in the SQL statement to "object@readonlydatabase". In most cases this will allow the optimizer to recognise the statement as "fully remote" and get the optimizer on the readonly database to create the execution plan - which would then be written to the production database.
    Regards
    Jonathan Lewis

Maybe you are looking for