[nQSError: 16001] ODBC error state: S1000 code: Timeout

Hi, I am getting the following error when I go to make a new subject area
+++Administrator:2b0000:2b0004:----2010/02/12 18:48:02
-------------------- Query Status: Query Failed: [nQSError: 16001] ODBC error state: S1000 code: 12170 message: [Oracle][ODBC][Ora]ORA-12170: TNS:Connect timeout occurred.
I am running OBIEE on Windows connecting to my Linux box
I have the ODBC DSN Setup and tested
Also I am able to connect from BI Administration and update row counts
Help is appreciated

here is my self written startBI.sh on Oracle Linux64
I am having an EBS R12 Instance for my database
#!/bin/sh
export ORACLE_HOME=/oracle/VIS/db/tech_st/11.1.0
LD_LIBRARY_PATH="/oracle/OracleBI/server/Bin:/oracle/VIS/db/tech_st/11.1.0/lib32"
export LD_LIBRARY_PATH
PATH=$PATH:/oracle/OracleBI/server/Bin
export PATH
TNS_ADMIN=/oracle/VIS/db/tech_st/11.1.0/network/admin/VIS_sgt
export TNS_ADMIN
cd /oracle/OracleBI/setup
./run-saw.sh start
./run-sa.sh start
echo $PATH
echo $LD_LIBRARY_PATH
echo $ORACLE_HOME
cd /oracle/OracleBI/oc4j_bi/bin
. ./oc4j -start
cd $home
Another landmine is that you may need to use lib32
The gateway libraries in NSConfig.ini may point to 10g libraries.
This is OK if you have 10g but for 11g you may have to relink libclntsh.so.10.1
Hope this helps
All these roadblocks make you dig more, google, read docs experiment and try work arounds
Though this is frustrating we get to discover more about the engine.

Similar Messages

  • [nQs error: 16001] ODBC error state: S1000 code:15105 message: [TimesTen]

    Hi Gurus,
    Can some one guide me in resolving this issue.
    I am facing this issue when i try to view data/update row count from __05 - Sample App Data (TimesTen)__ after implementing TimesTen data base during Sample apps Deployment.
    *[nQs error: 16001] ODBC error state: S1000 code:15105 message: [TimesTen][TimesTen 11.2.1.8.0 ODBC driver][TimesTen] TT15105:USER BISAMPLE_TT requesting database creation isnot the instance administrator, only instance administrator can create database. --file "db.c",lineno 7900,Procedure "SbDbCreate",*
    Your kind help will be appreciable.
    Edited by: 804140 on Jan 26, 2012 10:06 PM

    Hi,
    This might help.
    Not able to conncet to the dsn
    Thanks.

  • 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

  • ODBC error [Database vendor code: 10004]

    I am attempting to link two tables within a remedy database.   the report works when I call a single table as data is returned.  As soon as I pull fields from the other table I encounter an error that I have listed above and no data is returned.  I have attempted to link the tables with a common field (Case ID) with a inner join relationship.  I have adjusted the join relationships between inner, Left and right.  I have also played with the Enforce Join and toggled between Not enforce, Enform From, Enforce to and Enforce both.  
    I would be interested to know what I can do to successfully link these two tables and display content.

    Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • 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.

  • NQSError: 16001::Data source name not found and no default driver specified

    Hi,
    I am loading the prebuilt repository "sh_partwo.rpd" online.
    While doing Tools->Update All Row Counts, It gives the following error:
    [NQODBC][SQL_STATE: HY000][nQSError: 10058] A general error has occured.
    [nQSError: 43093] An error occured while processing the EXECUTE PHYSICAL statement.
    [nQSError: 16001] ODBC error state: IM002 code: 0 message : [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified.
    Any help will be greatly appreciated.

    Hello
    what is the database and how are you making connection to database from biserver i.e. from administration tool?
    I think you are using odbc source for connection, then what is the driver you specified there in creating this dsn?
    let me know...

  • ODBC error using VISIO: ora-0911

    I am trying to connect to an oracle 8i db using Visio Enterprise for Microsoft Windows 5.0. During the re-egineer option I use the odbc connection I have defined for the db I am trying to reach and receive the following errors.
    "ODBC Driver Error:State:S1000,Native:911,Origin[Oracle][ODBC][Ora] ORA-0911:invalid character"
    and
    "ODBC Driver Error:State:S1010,Native:0,Origin[Microsoft][ODBC Manager] Function Sequence Error"
    The oracle odbc driver I have loaded is 8.01.6200.
    ANY Help would be greatly appreciated.

    You may want to try updating the Driver Manager, part of the MDAC (Microsoft Data Access Components). <http://www.microsoft.com/data>. The 8.1.6.2 driver requires the 2.5x MDAC.
    Justin

  • Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170:

    Hi all,
    I have an Windows XP OS with SP3.
    I have installed the Oracle 11g server.
    On trying to connect to the ODBC connection, i get the following error message:
    Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170: TNS: Connect timeout occured
    On trying the tnsping,
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 09-OCT-2
    011 13:11:05
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    E:\app\Gautam\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
    5.207)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))
    TNS-12535: TNS:operation timed out
    On trying to connect with SQL Developer, i get the following error:
    Status: Failure - Test failed: Io Exception: The Network Adapter could not establish the connection
    However i am able to connect to the same using SQL Plus
    Another issue that occurs is that the Oracle Enterprise Manager shows the following error after a while:
    Agent Connection to Instance
    Status Failed
    Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    The following services are all up during this point of time:
    OracleDBConsoleorcl
    OracleOraDb11g_home1TNSListener
    OracleServiceORCL
    Any help in this regard will be very useful as this is hindering the progress of my work.
    Thanks in advance for the help.
    - Gautam

    841683 wrote:
    Hi,
    I did try and delete my listener.ora and then create a new one..
    That did not solve my issue..
    What are the steps for configuring the listener again.
    Thanks for the response..
    - Gautamno listener.ora file is required.
    just do as below
    lsnrctl start

  • 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

  • Error [hyt00] [microsoft][odbc sql server driver] query timeout expired

    I have the below network setup:-
    1. Its a simple network at my father's office at a small town called Ichalkaranji (District - Kolhapur, Maharashtra).
    2. We are using private network range 192.168.1.xxx with two Windows Server 2003 Enterprise Edition with SP2 licensed copies and 15 local Windows 7 clients who are only using Server A.
    3. The network is having a TP-Link Braodband Router Connected to internet with the IP 192.168.1.1.
    4. Both there Windows Server 2003 Enterprise Edition with SP2 are running separate SQL Server 2005 Express with Advanced Services, you can treat them as Server A (Problematic Server with IP of 192.168.1.2) 
    and Server B (this is not having any issue with IP of 192.168.1.3).
    5. Server A is also being used by 6 Remote users from our Kolkata office using DDNS facility through the NO IP client software which installed separately on both the servers. Kolkata remote users
    do not use OR access the Server B.
    6. Server B is being used by only 2 Remote users from our Erode office (Under Salem District, Tamilnadu) using DDNS facility through the NO IP client software which installed separately on both
    the servers. Erode remote users do not use OR access the Server A.
    7. The front end application which running separately on both the servers have been developed in VB by a local vendor at Ichalkaranji (District - Kolhapur, Maharashtra).
    8. Both Servers are having the same database structure in terms of design and tables format. Only difference is that both the servers are being used separately.
    9. This error OR problem is only related to Server A, where on the clients we get the message "error [hyt00] [microsoft][odbc sql server driver] query timeout expired" every now and then.
    10. We have to frequently reboot the server whenever we get this message on the client machines. May be after rebooting every thing works perfectly for 2 hours / 5 Hours / may be one full day but
    the the error will come back for sure.
    11. Current Database back up size on Server A is around 35 GB and take around 1 hour 15 minutes daily to take the back up.
    12. Current Database back up size on Server B is around 3 GB and take around 5 to 10 minutes daily to take the back up.
    13. One thing I have noticed is that when ever we reboot Server A, for some time sqlsrvr.exe file will show memory usage of 200 to 300 MBs but it will start using slowly, what i understand is that
    this is the way SQL Server works.
    14. Both the Servers are also running Quick heal Antivirus Server Edition separate licensed copies also.
    15. Server B is also running Tally ERP 9 Licenses copy which is being used locally by 15 users of Ichalkaranji (District - Kolhapur, Maharashtra) same users
    Can any one help to resolve this issue. Any help will be highly appreciated.

    The error message "query timeout expired" occurs, because by default many APIs, including ODBC only waits for 30 seconds for SQL Server to send any output. If no data has been seen for this period of time, they tell SQL Server to cancel execution
    and return this error to the caller.
    This timeout could be seen as a token that the query is taking too long time to execute and this needs to be fixed. But it can also be a pain in the rear parts, if you are content with a report taking five minutes, because you only run it once a day.
    The simplest way to get rid of the error is to set the timeout to zero, which means "wait forever". This is something your vendor would have to do. This may, however, not resolve the problem, as the users may just find that the application is hanging.
    To wit, there are two reasons why the query takes more than 30 seconds to complete. One is that there is simply that much work to do. This can be reduced by adding indexes or by doing other tuning, if the execution time is not acceptable. The other possibility
    is blocking. That is, there is a process blocking this query from completing. This is much more likely to require attention.
    It is not clear to me, whether the vendor has developed the database part as well. In this case, you should probably call the vendor's support desk to have them to sort this out.
    Finally, I am little puzzled. You say that you are using Express Edition, but one of the databases is 35 GB in size. 35 GB is far above the limit for Express Edition.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Custom Odbc error code

    Hi All,
    I want to know if there is any way where we can customize the odbc error code whenever a error is displayed in presentation services.
    Thanks in Advance!!!

    I have lloked into custommessages.xml but i figured out that we can change or custom the message but not sure error code asscociated the message.
    please let me know about this

  • Error handling return code for Provide Statement

    Hi Experts,
    For select statement we have error handling return code sy-subrc.
    What is the error handling return code for provide.. end provide statement.
    Thanks,
    Ragu

    Ragu,
    Same thing.
    Check sy-subrc.
    sy-subrc is the return code for all ABAP statements as far as I know.
    Regards,
    Dilek

  • EVENT 36888, Schannel A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 43. The Windows SChannel error state is 252.

    I keep losing my network connection for a few seconds at a time.  Not  a big deal unless I just spent time filling in a form and have to redo it.
    Getting:
    A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 43. The Windows SChannel error state is 252. Using windows 8.  I just installed the new ARRIS
    TG862 provided by Comcast. 
    Any Ideas?
    Also get the following errors in my events:
    The name "WORKGROUP      :1d" could not be registered on the interface with IP address 10.0.0.2. The computer with the IP address 10.0.0.3 did not allow the name to be claimed by this computer.
    Realtek PCIe GBE Family Controller is disconnected from network.
    Any help is appreciated

    Hi,
    Critical Kernel-power event ID 41 is used appear after PC restarts or randomly restarts with error
    BugcheckCode listed or a cold reboot. Do you get BSOD and some dump files?
     Default location is %SystemRoot%\Minidump. You can upload it to skydrive, then paste link here.
    How to use Skydrive
    http://www.wikihow.com/Use-SkyDrive
    Kernel-PnP event ID 219: A Plug and Play device driver on your system is failing to load due to a device driver or device malfunction, you can unplug any external devices (except mouse and keyboard, but please keep the latest drivers), and
    check device status in device manager, please also keep the all latest driver update of your PC.
    And for error 36888, I found a similar thread, please refer to this link
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/4c5430f5-43f6-41b4-97d3-03cfb3efa70b/schannel-error-event-id-36888-is-there-a-way-to-identify-what-causes-schannel-to-log-error?forum=winserverDS
    Regards
    Yolanda
    TechNet Community Support

  • Odbc error while retrieving the Query from Manage Sessions

    Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirect).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    File: odbcstatementimpl.cpp, Line: 186
    State: S1000. Code: 10058. [NQODBC] [SQL_STATE: S1000] [nQSError: 10058] A general error has occurred. [nQSError: 46044] Cannot convert string (2679504904.0) to integer data. (S1000)

    Your post is a bit unclear.
    Can you provide more details - what do you do to replicate this? what's your installation architecture, OS, versions? Is this an error that causes problems? If so what? What is your question?? :)

  • 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,

Maybe you are looking for

  • App won't deploy properly in Tomcat

    I'm working with Tomcat 5.5.17 on Win2K using JDK 1.5.0_07. I've got a Struts / Hibernate app that I'm trying to deploy. It deploys and runs fine in WebLogic 8.1.3, no problem. However, when I try to load it on Tomcat and access the first JSP page, i

  • Firefox is displaying content that is not in english

    Since Firefox went to 4.0 I'm having content on web pages displayed in some odd language. It's like something is set to something other than English. When I copy and paste the gibberish it paste in english

  • Ant in Jdeveloper!

    Hi! Can anyone give me an tutorial about Ant in Jdeveloper? And explain how app. developers work with ant and why? Best regards, Debuger!

  • IPhone 3GS built in speakers, should both be outputting audio?

    I have a 3GS. When I play youtube videos or the one game I have on there, I notice that the sound only comes out of one speaker - specifically the bottom left speaker (assuming you hold the phone with the screen facing you, and the dock connector poi

  • The install trail of BI extractor and impact for the application area

    Hi, I've heard BI extractor was newly installed to our system. And I have been investigating the impact from installing BI extractor. My qustions are; Do you know transaction codes or something to see how BI extractor is installed? Do you think BI ex