OCA - ODBC - Error/BUG

Hi everybody,
Could anybody help me on this :
I encountered an error message when I use SQL-Plus 8.0.6 with OCA 8.0.6 and RSF 8.0.6, it said : ORA-00022 : invalid session id; access denied.
I heard that the solution is to downgrade the RSF to 8.0.5, yes it really works. But the problem is RSF 8.0.5 resides in default_home directory, but the Form 6i that i use resides in oracle_home directory.
Could anybody help me to solve the problem, since 8.0.6 resides in oracle_home and 8.0.5 resides in default_home.
Thank you very much for the kind attention, greatly appreciate for the help.
Best regards,
Tonny Loekito
null

Here are few Metalinks that support the Error
DOC ID: 159964.1
DOC ID: 299604.1
Bug No: 779714
Sometimes it will be a ORA-1013 error!
Re: ORA Error 1013 - Problem Connecting to Oracle Via ODBC
Follow up with the above forum - hopefully it will solve your issue

Similar Messages

  • Other than ODBC error

    Hi Team,
    What are the errors that we can found other than the odbc error in obiee can please share the document if you have.
    Thanks in advance

    Hi,
    Some common errors-
    Unable to Log In
    Error connecting to the Oracle BI Server: Could not connect to the Oracle BI Server because it is not running or is inaccessible. Please contact your system administrator.
    Error Codes: WH4KCFW6:OPR4ONWY:U9IM8TAC
    Common cause(s):
    •"Oracle BI Server" windows service is not running. Starting the service could resolve the issue.
    •In case the BI Server service is running and still the error occurrs, check the port the service is listening to is matching with the port specified in the ODBC DSN for the analytic repository. In NQSConfig.ini file look for RPC_SERVICE_OR_PORT. The default value is 9703. The ODBC DSN name can be found in instanceconfig.xml
    "Oracle BI Server" windows service is not starting.
    Common cause(s):
    •The RPD file specfied in the NQSConfig.ini doesn't exist in the repository folder.
    •RPD file may be inconsistent. Open it using Admin tool in offline mode and fix the consistency errors.
    Error Generating Chart
    Error Codes: ETI2U8FA
    Common cause(s):
    •"Oracle BI Java Host" windows service is not running. Starting the service could resolve the issue.
    Access denied for user to path /users/username/_portal.
    Error Codes: O9XNZMXB
    Common cause(s):
    •The specified user doesn't have permission to read/write to the his/her catalog folder. To resolve the issue, login as Administrator and grant permission to the user to his/her catalog folder using catalog manager.
    Check the below links too-
    http://debaatobiee.wordpress.com/category/obiee-11g-2/errorsbugsissues/
    http://total-bi.com/category/obiee-errors/
    http://total-bi.com/category/obiee-errors/page/2/
    http://obiee-blog.info/tag/obiee-bug/
    Hope this helped
    Regards
    MuRam
    Edited by: MuRam on May 29, 2012 8:32 AM

  • Open Client Adapter to 9i-Lite OCA-30017 error

    Is there a suggestion or solution to the following:
    Using Forms 6.0.8.11.3, Oracle Client Adapter for ODBC 6.05.29.0 , 9i-Lite 5.0.1, and the 4.0 Oracle Lite Driver OLOD2040.dll the following results:
    ERROR:OCA-30017: error logging on to non-Oracle database[POL-5246] User does not
    exist.
    I have created a system DSN named 'test' using the Oracle Lite Driver 4.00.00.00 OLOD2040.DLL. I can use the ODBC test program (ODBCTST.exe) to query the db. (Plz note - a user level DSN cannot connect using the ODBCTST tool). Great, but the form returns the above error. I can query all 9i-Lite dbs locally with the ODBCTST program, but the Client Adapater complains about the POL-5246 when trying to connect via the FORM. I'm using username password ODBC:test and I get the above error. The user name and password exist and has been confirmed by connecting via the msql through the the @polite:dsn I can also use msql to query any and all lite local dbs using the system/manager@polite:userdsn4database - Any suggestions - I think the OCA mesg is bogus and cannot isolate the real problem.

    Hi again.
    The documentation, "OCA for ODBC Readme"m said that it only supported to Access 2.0. According to the file, I should have OCA version 1.0.14.3.4 currently installed. Are new OCA versions only available with the new software releases or can I download them to use with older Developer releases? If so, where do I find them.
    Thanks for your help.
    null

  • Powerpivot Report 2010 - OLE DB or ODBC error: Query timeout expired; HYT00

    0
    I have report already developed by someone in powerpivot 2010 and deployed to sharepoint in powerpivot gallery library. The data source for this report is SQL Server 2008 r2. I have set the refresh options in sharepoint to run after business hours during
    week end. When I check the refresh history it shows this error message "OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the
    transaction failed..
    I have tried to run the "Also refresh as soon as possible " just to check but same error message is shown.
    This is the detailed error message details:
    03/02/2014 21:06:55 03/02/2014 22:08:15 01:01:20 Failed
    OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the transaction failed
    Could anyone guide me on this issue? Truly appreciate your help in advance.

    Hi asritha,
    I would suggest you take a look at the following articles regarding how to configure PowerPivot data refresh in SharePoint Server:
    Configure and Use Stored Credentials for PowerPivot Data Refresh:
    http://technet.microsoft.com/en-us/library/ee210671(v=sql.105).aspx
    Configure and Use the PowerPivot Unattended Data Refresh Account:
    http://technet.microsoft.com/en-us/library/ff773327(v=sql.105).aspx
    Note: Please ensure that the account have sufficient permission access to your data source.
    In addition, please elaborate your PowerPivot data soure with more detail. If you are using SSAS cube, please try to increase "ExternalConnectionTimeout" property default value to see if this helps. Here is the similar thread for your reference,
    please see:
    http://social.technet.microsoft.com/Forums/en-US/35b26c06-9e6d-41e5-ae44-bfb1233510ac/ssas2008-ole-db-error-ole-db-or-odbc-error-query-timeout-expired-hyt00?forum=sqldatamining
    Regards,
    Elvis Long
    TechNet Community Support

  • ODBC Error connecting to a stored procedure SQL Server 2008 - Crystal 8.5

    I am running a local copy of SQL server 2008 and get an ODBC error when connecting to any stored procedure with or without parameter. The database are running in SQL Server 2000 compatibility mode on the local server.
    Do not get the error when connecting to one or more databse tables or when connecting to a stored procedure on a remote database.
    The error reported is "ODBC error:[Microsoft][ODBC SQL Server driver] Syntax error or access violation"
    I am running Vista OS.
    Any help would be appreciated..

    Hello,
    Interesting combination. All but CR 8.5 is supported on that OS.
    When you created your DSN did you using the 2008 Client or MDAC?
    I suggest you go back to supported platforms for CR 8.5
    If not then start debugging Vista permissions to start with...
    good luck
    Don

  • Customizing ODBC errors in OBIEE 11g

    Hi,
    I have a requirement where the user is expecting to see some Custom error messages instead of the Default ODBC errors OBIEE throws. Like the one below.
    Error generating view. Error getting cursor in GenerateHead
      Error Details
    Error Codes: OAMP2OPY:OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P 
    Odbc driver returned an error (SQLExecDirectW). 
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22055] First argument of Parent function must be a hierarchy in a Parent-Child dimension with a single column Member Key. (HY000) 
    Where i can find the files which has these messages.They should be on some .xml or Java file on the server. If i know that location, i can change the error into Custom error messages.
    Any help would be really appreciated.
    Thanks
    Swami

    Swami,
    These kind of custom error messages,You need to do it manually for each report
    Edit Analysis Properties ---- Results Display ----- Display Custom Message
    Mark if you helps,
    Thanks,

  • ODBC Error while Siebel Server try to connect to Oracle 10G

    We have managed to get through with the configuration of siebel server on HP Unix. However before we get to the Database configuration, we are encountering errors with ODBC connection to oracle 10g database. We are able to connect to oracle using sql plus but odbc connection is failing. We verified for patches, missing files, directory access rights - but no clue as of now.
    Our error says:
    Logging into "ENTSIA_DEV_DAN" as "sadmin"....
    /user/lib/hpux32/dld.so: Unable to find library 'libclntsh.so'.
    ODBC error IM0003 in SQLConnect:
    (DataDirect){ODBC lib} specified driver could not be loaded
    Unable to login using specified odbc parameters
    This has become a show stopped for us and we are strugging with this for the past three days without much direction.
    Any help is greatly appreciated.
    Thanks.

    Hi,
    I guess your DataDirect Driver which gets registered during Database Configuration has some problems.
    Can you check whether the DSN is using the proper Driver?
    Also, the username through which you are logging in to start Siebel Services must have proper rights.
    Many times on Windows platform i have noticied this error in ODBC due to improper user rights. If the rights are not proper, the DataDirect Driver fails to get loaded & throws similar error.
    Regards,
    Shalabhsneha

  • "ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQ

    Hi,
    I am getting the above error when trying to connect to a database located on remote database. if the database is on same system no problem.
    any clue???????pls help me.

    The full error msg is as follows and the back ground of the problem is decribed below...pls help me out.
    I have written some perl programs to be called by java to execute some database related tasks. My database located at a remote win2K server and database is MSSql and my programs are executing on WIN2k server. The problem is with perl talking to remote database...the following error is displaying...
    "ODBC Error= [17] [] "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not exist or access denied."

  • ODBC error checking in a data model

    At my client we're using PD 16.5.0 build 3982, and we're trying to check in a LDM that was originally generated from a PDM. When we try and check the LDM in to the repository, we get an ODBC error:
    ODBC driver for Oracle
    ORA-12899: value too large for column "PMTEXT"."TDAT" (actual: 2002, maximum: 2000)
    SQLSTATE = NA000
    I have an old (PD 16.1) PDM for the repository, which shows the column as having a length of 30,000, not 2,000. On my own laptop, the 16.5.3 (Sybase SQL Anywhere) repository also shows the column as varchar(30,000). However, the client's 16.5.0 Oracle database shows the column as varchar2(2000).
    Has anyone else had this problem with an Oracle repository?

    Check your settings for MaxBytePerChar  in your ODBC connection details. If you have a  multi byte database this helps to correctly store chars that are represented by more than 1 byte, e.g. the EUR sign in a comment field.

  • ODBC error in BI Launch pad

    hi,
    am very new to SAP BI/BW/BO
    i am getting error while running the query in BI launch pad, which i imported from the UDT
    in UDT the values are being displayed and all the parameters were clearly defined
    the query is being running perfectly in RICH CLIENT but the same query unv file is not been running in BI launchpad
    where would be the actual problem ????
    NOTE:
    its showing ODBC error and no default drivers specified.
    but as i mentioned above , its displaying the values in UDT and Rich client ( Enterprise ) mode but not in BI Launchpad.
    please help me out..?
    specifications:
    SAP business intelligence 4.1
    32 bit windows home premium

    Santosh,
    Create the same ODBC connection in server also, so that you will be able to view in BI Launchpad also.

  • OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi,
    I have one client and one server.  In both hosts I created an OS-user named User1.
    The user have been given various role under the prefix SQLServer2005.
    The default instance of SQL Server and instance (background-process) of
    Analysis Service are also run under User1.
    I connected via Management Studio to Analysis Service directly in the
    server.  I set the permission to access Analysis Service to Everyone. 
    This means everyone should be able to use Analysis Service.  I have set
    ODBC data source to the server.  Testing was successful.
    I created a project to create a cube.  The tables are fairly small (total 300 MB, biggest one 290).
    On project setting (created at client) I set the server host as
    deployment target. I managed to deploy project when all I have are Data
    Source and Data Source Views.
    But on deployment I always failed.   The errors remain the same, begins with
    OLE DB error: OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.; 08001.
    I have tried 4 combinations of Impersonation :
    (A) Use a specific username and password
      * in which I supply User1 and the password of User1
    (B) Use the service account
    (C) Use the credentials of the current user
    (D) Default
    Why is this? The server does certainly exist.  I think the error message is wrong.
    I have seen 3 posting that seems related.  One of them say the solution is giving the right impersonation, but gave no detail.  About the privilege, User1 are granted the role of
    SQLServer2005MSOLAP.  What is the solution?
    Thank you,
    Bernaridho

    I just had this problem and solved it by creating an alias in SQL Server Configuration Manager, as below:
    Scenario: My SQL server is accessible from the internet under my.domain.com, and from itself at ServerName. But the local network can't see itself through the router at my.domain.com, so the deployed project is unable to process the cube, since that would
    require Analysis Services to be able to see the SQL Server at my.domain.com, which it can't do.
    So I changed the server in my project from my.domain.com to ServerName, and I created a local alias to ServerName in SQL Server Configuration Manager, under SQL Native Client 11.0 Configuration, Aliases. In my case, I pointed it to localhost port 1333, and
    used SSH -L 1333:my.domain.com:1433, but I could have pointed the alias directly to the server, just as well. (Verifying... yes, that worked too, so you can forget SSH if you have no interest in it.)

  • ODBC error occurred while executing SQLExtendedFetch to retrieve the result

    Good morning everyone,
    I had the following error message while trying to run a simple query in Answers with 3 dimensional columns, 1 fact, and 4 calculated facts...
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1001 code: 0 message: [Oracle][ODBC]Memory allocation error.. [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement. (HY000)
    It's taking around 2,5 minutes to run, then it give that error message.
    Has anyone got any ideas on where I should get started?
    Update: after 2nd time - it's running fine....I've added a filter...could this be the issue? Too many rows initially?

    Damon,
    you were correct - it was indeed an ODBC issue. Switching to OCI has fixed the issue. This link was also very helpful:
    regarding performance
    In my case, the problem with OCI happened because I was using System DSN name instead of how it's called in tnsnames.

  • ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near

    Hi,
    I am currently receiving the following error in BI Answers when I run a query against a Microsoft SQL 2005 Server.
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
      Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 60 code: 8180 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Statement(s) could not be prepared.. [nQSError: 16001] ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
    SQL Issued: SELECT 0 s_0, "SD&A_Dashboard_Test"."BORIS_ALIAS_ETMS_Users"."Id" s_1, "SD&A_Dashboard_Test"."BORIS_ALIAS_ETMS_Users"."UserName" s_2 FROM "SD&A_Dashboard_Test" WHERE ("BORIS_ALIAS_ETMS_Users"."UserName" = 'trowe') FETCH FIRST 65001 ROWS ONLY 
    I am able to connect successfully to the Data Source and run a query against the database using the NQCMD command line tool so believe I have configured the DataDirect 7.0.1 drivers correctly, also I am able to view the Table Data in the RPD Physical Layer in the BI Administration Tool. So don't understand why I am getting this error.
    I have also activated the nquery.log but that doesn't really give me any further information.
    [2015-04-28T16:37:22.000+00:00] [OracleBIServerComponent] [TRACE:4] [USER-34] [] [ecid: 4a9e440f990ba0a4:-1995d2c5:14d00d3ef04:-8000-00000000000001c6,0:1:1:5] [tid: 5f] [requestid: 6f11000b] [sessionid: 6f110000] [username: borisdev] -------------------- Query Status: [nQSError: 16002] Cannot obtain number of columns for the query result. [[
    [nQSError: 16001] ODBC error state: 60 code: 102 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'..
    [nQSError: 16001] ODBC error state: 60 code: 8180 message: [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Statement(s) could not be prepared..
    [nQSError: 43119] Query Failed:
    I was wondering if anyone could shed any light on what could possibly be causing the [DataDirect][ODBC 20101 driver][Microsoft SQL Server]Incorrect syntax near 'UserName'.. error ? And also provide any suggestions on how I can troubleshoot this issue further as I am now completely out of ideas of what to do next having tried numerous things i.e. setting  IDENTIFIER_QUOTE_CHAR = '' in DBFeatures.INI which I found in similar posts on the subject all to no avail
    Regards,
    Tom Rowe

    Hi Rajagopal,
    Thanks for your reply after doing some further investigations this morning I found and corrected the problem...
    The DataDirect Driver does not like double quotes in the query for some reason, testing  using the BI Answers generated SQL with the nqcmd tool below...
    With double quotes “” it fails immediately
    Give SQL Statement: select T18706."Id" as c1, T18706."UserName" as c2 from "ETMS_Users" T18706 where ( T18706."UserName" = 'trowe' )
    select T18706."Id" as c1, T18706."UserName" as c2 from "ETMS_Users" T18706 where ( T18706."UserName" = 'trowe' )
    [102][State: S1000] [DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near 'Id'.
    Statement execute failed
    With double quotes removed for just the columns I now get the Error near ‘ETMS_Users’ which still had the double quotes
    Give SQL Statement: select T18706.Id as c1, T18706.UserName as c2 from "ETMS_Users" T18706 where ( T18706.UserName = 'trowe' )
    select T18706.Id as c1, T18706.UserName as c2 from "ETMS_Users" T18706 where ( T18706.UserName = 'trowe' )
    [102][State: S1000] [DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near 'ETMS_Users'.
    Statement execute failed
    With all double quotes removed it works !
    Give SQL Statement: select T18706.Id as c1, T18706.UserName as c2 from ETMS_Users T18706 where ( T18706.UserName = 'trowe' )
    select T18706.Id as c1, T18706.UserName as c2 from ETMS_Users T18706 where ( T18706.UserName = 'trowe' )
    c1           c2
    42499        trowe
    Row count: 1
    Give SQL Statement:
    The solution to fix the problem is...
    In the BI Admin Tool Physical Layer Database, Properties Features tab is to delete the double quote in the Value column for IDENTIFIER_QUOTE_CHAR, setting this in the DBFeatures.INI file does not resolve the problem possibly it did in earlier versions of the product.
    Regards,
    Tom Rowe

  • SQL Server Agent - [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]

    Hi,
    I keep receiving the error below in the SQL Server Agent Error Log;
    [165] ODBC Error: 0, Named Pipes Provider: Could not open a connection to SQL Server [2]. [SQLSTATE 08001]
    It is occurring approximately 20 times an hour and i cannot link it to any job failures. All jobs on the same SQL instance are working.
    The server is a clustered server and there are no errors occuring in the SQL Server error log at the same time. I have attempted to trace using profiler looking for errors and warnings but anything that does occur doesn't seem to correspond to the reported
    times of the errors within the sql agent error log.
    Please could someone point me where to look next?
    Many thanks.

    Please may I add that this is on a SQL Server 2008 R2 Enterprise edition patched to 10.50.1600.
    Nah, that server is not patched at all, because 10.50.1600 is the RTM version. Find Service Pack 2 and install at the next maintenance window, after having performed tests according to your local policy.
    It is not going to resolve your particular problem though.
    It seems like you have a job that attempts to a connect to s server that is down or non-existing. The job may be configured to return success also on failures. I would check if there are jobs that target other servers.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • 8i lite - OCA 30021, error in creating new user

    I Have installed 8i lite on my laptop running win 98 SE.
    I created a new user from oracle 8 navigator ( 8.0.5.0.1). Right clicking on user does not give any Privilege tab.
    Now I quit navigator & log on to Sql plus running OCA patch 6.0.5.35.0. The new user connects but you can practically do nothing.
    eg
    SQL> select * from system.emp ;
    select * from system.emp
    ERROR at line 1:
    OCA-30021: error preparing/executing SQL statement
    [POL-5150] access violation
    pl note that I have give "select all table" , "DDL" , "ADMIN" privilege to the new user created , but it always give error OCA-30021.
    Also does public synonym works in 8i lite ? I have create public synonym in SYSTEM, but it is not visible to any other user id.
    Greatly apreciate if you could answer any of my question.
    null

    I have similar problems. Any advice?

Maybe you are looking for