Ora-02248

Hi,
i exported from an 8i database and while trying to import the exported .dmp file to a 9i database it gives error,saying ora-02248.
How can i solve this?
Dipin

I haven't seen this before, but it looks like a compatibility issue. Perhaps it helps if you set the
COMPATIBLE=8.1.<your old version>
initialization parameter (stop and start database to make it go in effect).
Documentation:
ORA-02248 invalid option for ALTER SESSION
Cause: An option other than SET EVENTS was found following the ALTER
SESSION command.
Action: Specify the SET EVENTS option after the ALTER SESSION command
and try again.L.

Similar Messages

  • ORA-02248 when importing from the RAU

    Designer 6i rel. 4.6
    ODS 10g rel. 9.0.4
    Oracle 9.2.0.5
    I did a full Designer 6i repository export from the RAU and then imported the dmp file into another Designer 6i repository from its RAU. The RAUs from both instances use the import/export utilities from ODS 10g rel. 9.0.4.
    The export completes succesfully, but the import gives me the following warnings:
    IMP-00017: following statement failed with ORACLE error 2248:
    "ALTER SESSION SET "_PLSQL_LOAD_WITHOUT_COMPILE" = TRUE"
    IMP-00003: ORACLE error 2248 encountered
    ORA-02248: invalid option for ALTER SESSION
    IMP-00017: following statement failed with ORACLE error 2248:
    "ALTER SESSION SET "_PLSQL_LOAD_WITHOUT_COMPILE" = FALSE"
    IMP-00003: ORACLE error 2248 encountered
    ORA-02248: invalid option for ALTER SESSION
    I've searched Metalink but the only relevant information I could find was Note 19481.1. This note hasn't been updated since 1999, so I don't know if it's still relavent to the above versions.
    Does anyone know what these warnings mean?
    Thanks.

    Yes I got it and talked to Oracle. As per them its a bug but I got a workaround for this problem.
    If you still haven't got throught this mail me at [email protected]
    Regards
    Nikunj sharma

  • OBIA- Connection Problems ORA-00604 and ORA-02248

    Hi,
    i have an installation OBI Server, Presentation Services, and Scheduler on RH Linux 64Bit, Oracle 11 DB, OBI Admin on Win xp,
    in online mode when i try import from Database i got following errors:ORA-00604 and ORA-02248
    but i can Create ibots and i see with sqlplus the created ibots in the DB.
    have anyone an idea, why the scheduler can read and write in the DB, but i cant read via Admintool, i try to connect the same db)
    Thx

    can you connect from Windows box using SQLPLUS? yes i can connect
    are you using native connection in Admin tool or ODBC? I try to use Native (OCI) to connect the Oracle DB
    check the above to eliminate the connectivity issues.

  • ORA-02248: invalid option for ALTER SESSION when logging in from client

    Hi,
    I am a junior dba and I was hoping if someone could help me out with a problem I am having. I recently installed on oracle 10g client on my windows machine. I am trying to remote connect to my database on a unix box but I am getting the below error when trying to connect from the client.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    I've done some digging around on this and I think it might be something to do with the NLS_LANG setting maybe. I'm not sure though and to be honest I'm a bit lost on this.
    Any help would be greatly appreciated. Cheers.
    Rgs,
    Rob

    Please see below
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

  • Error ORA-02248 invalid option for ALTER SESSION

    Hi All,
    I'm using windows vista.I have installed oracle database 11g.Now, SQL Developer is working fine in this.I gave the sid as orcl and gave my username and password in sqldeveloper and it works.
    But the host string is not working in forms and sql plus.How do i know which host string i should give??I came to know that the tnsnames.ora which is present in the oracle home directory should be copied to forms directory also.I did that too but still forms,reprorts and sql plus are not working.I get two errors namely ORA-02248 invalid option for ALTER SESSION and TNS could not resolve service name .Pls suggest how to proceed.Thanks in advance....
    Regards,
    Gowtham

    Unfortunately you forgot to mention forms/reports version. Currently only one Developer Suite version is certified on Vista running 11g,don't ignore software/hardware requirements.
    It's 10.1.2.0.2 and that package requires additionally patch 6153263.
    Werner

  • ORA-02248 and NLS_LANG variable

    Hello,
    My database server environnment variable NLS_LANG is set to
    FRENCH_SWITZERLAND.WE8MSWIN1252
    My client environnment variable NLS_LANG is set to FRENCH_SWITZERLAND.WE8MSWIN1252
    When I try to connect in net managaer, I get the following error :
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    If I change the client environnment variable NLS_LANG is to AMERICAN_AMERICA.WE8MSWIN1252
    then the connection in Net Manager works correctly.
    Can someone explain me why I should set "AMERICAN_AMERICA" whereas the server is set to "FRENCH_SWITZERLAND"?
    Thanx!

    This is bug #4598613.
    Fix: upgrade your clients to 10.2.0.3
    Workaround 1: set NLS_LANG to FRENCH_FRANCE and then set ALTER SESSION NLS_TERRITORY=SWITZERLAND inside the program.
    Workaround 2: if you do not need numeric group separator to be single-quote, set NLS_NUMERIC_CHARACTERS to ".," (dot comma) along with NLS_LANG.
    -- Sergiusz

  • "ORA-02248: invalid option for ALTER SESSION" -- Urgent request

    Hi All,
    We use Discoverer 3.1.36.06 and are in middle of a 3i to 10g upgrade for Discoverer for a data warehouse setup. Our databases where upgraded to 10g from 9i and now we get the error message saying:
    "ORA-02248: invalid option for ALTER SESSION"
    I got some very helpful info abt the prob from the link below.
    Discoverer 3i Issue with 10.2.0.3 - ORA-02248
    We are mid way through the 3i to 10g upgrade and just need a quick fix for the next 2-3 weeks while the upgrade is finished.
    Does any one know if changing the NLS language and applying the post longon trigger on Database id's would help in resolving this connection issue temporarily.
    Any advice is deeply appreciated.
    Thanks.
    Edited by: Paul S on Dec 15, 2008 3:01 PM Corrected the link

    Hi,
    There are two types of trigger you can use: database triggers and discoverer triggers. You probably want to use a database trigger.
    If you are using an APPS mode EUL (ie. logging using Applications username/passwords) then you will be logging in as the APPS database user and the syntax is:
    create or replace trigger APPS.disco_logon_trigger after logon ON APPS.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    If it is a database EUL and the database user is gl_inq then the syntax would be
    create or replace trigger gl_inq.disco_logon_trigger after logon ON gl_inq.SCHEMA
    begin dbms_session.set_nls('nls_date_format', '''DD-MON-YYYY'''); end;
    Rod West

  • ORA-02248: invalid option for ALTER SESSION

    I deploy application in OC4J 10.1.3, it use Oracle 8.0.5.0.0, but when I try connect DB, it gives me error:
    ORA-00604 Error occured at recursive SQL Level 1
    ORA-02248 Invalid Option for Alter Session
    Can someone please help me with this.

    From which version of Designer/SCM are you exporting and to which version are you importing? Please give the complete version number as shown in the Help->About dialog. For example, Oracle SCM 9i (9.0.2.10) and Oracle SCM 10g (9.0.4.6).
    - Suresh

  • Discoverer throwing ORA-02248 at logon

    Before I get started, I know that the version of Discoverer I am trying to use is not supported. I do not care, I am only trying to bridge the gap until our new solution is in place.
    On to the question....
    I have been able to successfully install Discoverer Desktop 9.0.4.43.17 on a Windows 7 x86 client machine.
    I am using a known good tnsnames.ora file from a WinXP SP3 machine running the exact same Discoverer build (which works perfectly).
    I know the Discoverer install works with the Windows 7 machine as I can run the sample data without a problem.
    When I try to connect to the database, I get a ORA-02248: invalid option for ALTER SESSION.
    The database parameter is AMERICAN_AMERICA.WE8MSWIN1252.
    I have ensured that the registry setting matches this. I also tried to create a system variable - NLS_LANG - that matches this.
    Nothing works. I know there is most likely a very simple fix for this, but I cannot figure it out. Somebody out there has got to be running Discoverer Desktop on Window 7 x86 clients and know what needs to be done.
    ANY help is greatly appreciated as we want to get rid of XP once and for all!
    Mike

    This is a standalone install trying to connect to a database account.
    This error occurs with any account.
    Item of interest: If I login incorrectly, I get an access denied / invalid user account/password message. This tells me that the connection is there.
    Edited by: 794182 on Apr 30, 2012 10:31 AM

  • ORA-00604 AND ORA-02248

    Hi,
    I am working in oracle 8i and windows OS . If i connected to DB using PL/SQL its working fine . But if i connected to my front end Application Java its showing Error as ORA-00604 AND ORA-02248 Invalid alter session privilege.
    But i am able to connect to another DB's through front end.
    Please provide me the solutions
    Regs...

    if i connected to my front end Application Java its
    showing Error as ORA-00604 AND ORA-02248 Invalid
    alter session privilege.Looks like you front end application running "alter session..." command and that has invalid value , that is why you getting error. Check code of you front end application.

  • Form6i connecting to DB11g, ORA-02248: invalid option for ALTER SESSION

    when i am try to connect forms6 to database 11G then receiving this error:
    ORA-02248: invalid option for ALTER SESSION ,
    any one can help.
    Regard
    MK

    I believe Forms 6i issues this:
    ALTER SESSION SET REMOTE_DEPENDENCIES_MODE = SIGNATURE
    See if it is valid in Oracle 11.
    If that is not the problem, run your form with trace on, and view the SQL statements passed. From my notes, trace is :
    In C:\Orant\Net80\admin\SQLNET.ORA, set:
    trace_level_client = 16
    then run the form. File produced is named in:
    trace_directory_client = C:\ORANT\NET80\TRACE
    trace_file_client = C:\ORANT\NET80\TRACE\cli.trc
    Please report back what you find.

  • Designer on W7 - ORA-02248

    After installation Oracle DevSuite with Designer (9.0.4.0.1) on Windows 7, I try to login and got
    Message
    ORA-02248: Invalid option for ALTER SESSION
    Message
    RME-00220: Failed to connect to Repository
    The same done on Windows XP working corectly...
    Whats the problem ?

    Welcome to the forums !
    >
    The same done on Windows XP working corectly...
    Whats the problem ?
    >
    The official Install docs do not say that this software is supported/certified on Win7
    http://download.oracle.com/docs/cd/B14504_01/dl/core/install/chap2.htm#sthref64
    HTH
    Srini

  • Deployment Error ORA-02248: invalid option for ALTER SESSION

    While trying to deploy application on oc4j standalone 10.1.2, I receive the following error:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    Any ideas?

    Hello,
    Which kind of application are you deploying?
    What the application is doing with the database during deployment? (what j2ee components are you using that could access the DB during deployment)
    Regards
    Tugdual Grall

  • ORA-02248 When I Try to Connect Discoverer Desktop 9.0.4.43.17 to 11.2.0.1

    Hi Fellows.
    I'm trying to Connect Discoverer Desktop 9.0.4.43.17 to Oracle Database 11.2.0.1. I Installed the program (Windows 7 Emulating XP SP3) But when I try to connect to Database send me ORA-02248 Error, some Alter Session. I'm Using a user with DBA privileges But I cannot Connect to Database, Do I have to Install an Additional Software or create a Special User or Schema????
    I would like to check and use Discoverer because I think that will be very usefull for the end users of the company.
    Thanks for your time.
    Best Regards
    Emmanuel.

    Dear Friend.
    I can connect via SQLPLUS with SYS as SYSDBA and everthing is ok But When I try to do it in Discoverer Logon Form I Can't and i get Error ORA-12154. Can I fix ORA-02248 ALTER SESSION problem Connected from SQLPLUS as SYS???? I was Checking But I cannot Find Nothing Regarding this issue. Its seem the aplicaction when connect Try to ALTER the Session But Fails and the Program Abort. I Also check for SQL Scripts into the Binary Discoverer Directory But Nothing.........I just found a lot of Jar Files.
    Thanks a Lot
    Emmanuel.

  • JDeveloper - Unable to connect to database : ORA-00604, ORA-02248

    Dear All,
    We have integrated our source control tool with Jdeveloper. It is a perl script. To check in a file to the source control repository, we are invoking this perl script. When we select CVS as the versioning scheme, under Preferences->Versioning->CVS, we can select an external script to be run instead of cvs binary directly.
    The perl script will connect to a database (It use DBI perl modules to connect) during its execution and it works fine if we run from command line.
    But, when the same script is called from Jdeveloper, It reports the following error.
    <quote>
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION (DBD ERROR: OCISessionBegin)
    </quote>
    Additional Details
    Jdeveloper : (Installed in 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux)
    Studio Edition Version 11.1.1.0.0
    Build JDEVADF_MAIN.DROP3_GENERIC_070626.1122.4560
    Oracle Home : ( Installed in Red Hat Enterprise Linux AS release 3 (Taroon Update 7) Kernel 2.4.21-40.ELhugemem on an i686 )
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production With the Partitioning, OLAP and Data Mining options.
    NLS_LANG : american_america.utf8
    I would very much appreciate any kind of suggestions/direction which would guide me to resolve this issue.
    If you need any further details, please feel free to contact me.
    Thanks in advance.

    Can you send me the script?
    rgds
    susan

Maybe you are looking for