[?] ODBC connection troubles

Hello,
I have a 10g server is running on Win2003 comp, and I want to connect to it
from WinXP client computer using ODBC.
1) I downloaded Oracle client (from
http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip),
unpacked it onto a client comp, set the PATH variable to that folder
2) Tried to connect:
data source: MS ODBC driver for Oracle
server: Win2003ServerName
username: sysman
password: sysman_pwd
And I got an error ORA-12514: TNSlistener does not currently know of service
requested in connect descriptor
I'm a novice in Oracle, and what can I imagine is I have to create a correct
tnsnames.ora file on the client comp. But where have I place it to, or how
to register it?
Thanks.

Can you try using the Oracle ODBC driver? The 10g Instant Client does not support using third-party ODBC drivers, it just installs what the Oracle ODBC driver requires. You'll have to download and install the Oracle ODBC driver components as well as the straight Instant Client as well.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Informix ODBC refresh trouble

    Hello forum,
    I am using Crystal Reports XI ver 11.5.8.826 on WinXP Pro to design reports for an Informix database.  The connection between the report designer and the database is an Informix ODBC connection, version 3.31.  I have other database client applications that are able to access the database through the ODBC connection without any trouble.  My Crystal Reports designer, however, is often unable to refresh database information properly, which prevents me from being able to add new database fields to existing reports.  To refresh reports, I am using the Database menu item Verify Database.  It often returns messages indicating that the report tables no longer exist, even though I am certain that they do.  The refresh menu item on tables in the Field Explorer appears to do nothing.  I have also tried to re-create the connection in the Database Expert, but this also has no effect.  Does anybody have any advice?  I am confident that the Crystal Reports designer is the problem, because I run the report query in other DB clients using the same ODBC connection, and they return the expected result.
    Thanks,
    Paul Oldenburg
    Global Crossing Conferencing

    Thank you very much for the quick response. 
    Using the Set Datasource Location dialog appears to have updated the information in the Field Explorer, as you suggested.  The changes to the database schema are now available in the designer.  The Database menu item Verify Database runs without errors.
    Now, however, when I save the report template with changes using the new schema, I get the following error when generating the report using the C++ CrystalDecisions API:  "EngineException: Database logon failed."  In the report designer, I used the Database menu item Log On or Off Server to make sure that the credentials stored in the template were correct.  I also ran the report in the designer using Print Preview, and all the data appeared to populate correctly, even new schema elements.  It looks like the designer is able to use the new template properly, but not my C++ application which uses the CrystalDecisions API to generate reports.
    Do you a suggestion to address this problem?
    Thanks again.
    Paul Oldenburg

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Not seeing all DB tables in Crystal using ODBC connection

    I have an ODBC connection to an oracle database.  I can connect to the database and see all the tables through tools such as TOAD, SQL developer, SQLPlus, etc.  However, in Crystal, i only see schema tables and not the tables I want.  I am using the same connection, username, and password.  If I run a report that was created in a different environment to the correct tables, I receive the error: ORA00942: table or view does not exist.
    Oracle 10g
    Crystal 12.0.0.683
    Any suggestions?
    Thanks,
    Diana Woronuk

    Hi Diana,
    Go to File | Options and open the Database tab. 
    Make sure Tables and Views are checked.  You may want to include Stored Procedures too. 
    Save the changes and restart Crystal. 
    You should see your tables now.  If you have more than 200 objects in your database, you may need to use the Table Name Like option to filter out some of the tables. 
    Good luck,
    Brian

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • Getting sqlplus and odbc connection to work

    I'm looking to automate some data extraction activities either through a windows batch file or set up a data connection in an excel spreadsheet. I've installed (I think) the instant client, but, I'm not seeing any programs to run in my start>All Programs list except Microsoft ODBC Administrator and sqlplus does not work when typed at the command prompt (sqlplusw neither).
    Not sure what I should do next...thanks for looking and your help.
    I currently use sql server and access and have set odbc connections and connections to sql server in excel.
    Here's what the inventory shows:
    Inventory contents of (my-computer):
    Oracle Homes
    OraClient10g_home1
    Oracle Client 10.2.0.1.0
    Oracle Instant Client 10.2.0.1.0
    Oracle ODBC Driverfor Instant Client 10.2.0.1.0
    Oracle JDBC/OCI Instant Client 10.2.0.1.0
    SSL Required Support Files for InstantClient 10.2.0.1.0
    RDBMS Required Support Files for Instant Client 10.2.0.1.0
    SQL*Plus Files for Instant Client 10.2.0.1.0
    HOME SELECTION
    Central Inventory Location: "C:\Program Files\Oracle\Inventory"
    Oracle Home Status
    OraClient10g_home1 Selected
    PATH = D:\oracle\product\10.2.0\client_1\bin;D:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    etc, etc, etc
    --------------------------------------------------------------------------------

    thanks
    sqlplus working, had the wrong path, but, not connecting. I did save a copy of the tnsnames.ora from another machine. Here's what it shows, below, I think I need to use the LDAP adapter, but, not sure how to make it use that, sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    ----command line results------
    C:\>tnsping POST_DBSR.xxx.ourcompany.COM
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2
    010 07:33:32
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\client_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.xxx)(PORT = 1521))) (CONNECT_DATA = (SID = post)))
    TNS-12535: TNS:operation timed out

  • 11g 64-bit unable to create ODBC connection

    Hello,
    I am currently facing issue related to ODBC connection. Details of configuration is as follows
    OS: Vista 64 Home Premium
    Oracle DB 11g 64bit: ver 11.1.0.6.0,plus the addition of the fix for bug 7389110 (as per release notes)
    ODBC driver location: C:\app\oracle\product\11.1.0\db1\BIN\sqora32.dll
    It appears and works well from 32 bit ODBC connection manager. However, it's not visible/available from 64 bit ODBC connection manager. Oracle installation repository appears under 64 bit area ("Program Files") and not under "Program Files (x86)". Assuming it might be a problem with installation I have also tried copying registry entries under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC with no luck.
    Any help to create ODBC connection is much appreciated
    Thanks,
    Hemant
    Please do not respond to this question here. I am moving it to ODBC forum area
    Edited by: user6868322 on Aug 5, 2009 2:04 PM

    Opening new tread under ODBC forum and closing this

  • ODBC connection not able to see all schemas

    Hi everyone,
    We have noticed an unusual problem that just recently started. In our database, I have created a read-only user - only has the ability to connect to the database, and SELECT ANY TABLE. Then we have some applications (Crystal Reports and Lotus Notes Agents) that use this user to query data. The applications use an ODBC connection, and when we initially set this up, everything worked beautifully.
    However, suddenly we have noticed that the ODBC connection is not able to see all of the schemas in the database. We have tested and confirmed this - using either 9.02 ODBC or 10.01, this happens with both of them. I created a couple new ODBC connections, one for each version, then I try to create a new Crystal Report, using this ODBC connection - when I connect using the read-only user, it connects just fine, but when it shows me all of the schemas available, I am only seeing about half of them (and of course not seeing the one that I really need to see).
    However, when I use Microsoft Access, and try to import some External Data, and I use the same ODBC connections, then I AM seeing all of the schemas.
    Has anyone ever seen anything like this? Any ideas on what I can do to troubleshoot?
    Thanks,
    Brad

    I'm trying to get this issue figured out. Can you
    tell me what you mean when you ask me to log in
    directly as the same user using ODBC and query
    ALL_TABLES - how would I do that?Using whatever Oracle database account you use in Crystal, log in to the database using SQL*Plus (or your favorite GUI like SQL Developer) and run a query like
    SELECT owner, table_name
      FROM all_tablesDoes that query show all the tables you expect, or are you missing some?
    Also, you mention a parameter in the ODBC API that
    controls which schemas are returned - is there any
    way to see that value?An ODBC trace might show the value, I don't recall if the actual value is written out in the trace. Different front-end tools often have a place that allows you to filter out certain schemas, which is generally done by passing in a parameter to this ODBC API call. I don't know enough about your tools, though, to know where this might be.
    Are there any other ODBC drivers I could try?There are plenty of third party ODBC drivers out there, but I would tend to be suprised if the ODBC driver was at fault here. You could also try patching the ODBC driver and/or Oracle client to the most recent patchsets.
    Justin

  • Can a SQL view see data from an ODBC connection?

    Hi.  I currently have an application that pulls data from a custom SQL view in my SQL database.  This custom application can not be changed, so it expects to see the data exactly as presented by my custom SQL view.  This works fine
    when the data resides in SQL, but I am not sure if it is possible when the data resides outside of SQL.  I’d like to connect to another type of database via an ODBC connection from my SQL database, and still utilize my custom SQL view.  I would prefer to NOT
    use the SQL database as a warehouse, and simply use it to pass data.
    Is this possible?   Thank you for reading.

    Hi Robet,
    According to your description, you want to create view in SQL Server to pass data from OBDC database to custom application, right?
    In this case, we can create linked server to access an ODBC database when you are using an ODBC data source. Linked servers can use the OLE DB Provider for ODBC without using an ODBC data source. You can refer to the link below to see the details.
    http://technet.microsoft.com/en-us/library/ms191462(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • OBIEE 11g ODBC connectivity error

    Hi all,
    I am getting the following error when I tried to access a simple query through Answers.
    "*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: IM002 code: 0 message: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. (HY000)*
    *SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "BISample"."Product"."BRAND" s_1, "BISample"."Target"."REVENUE" s_2 FROM "BISample" ) djm*"
    What I did was
    1. Create a DSN 'orcl', 32 bit Oracle ODBC driver. Tested and worked against the Oracle database.
    2. Import metadata using Local, ODBC 3.5 and DSN = orcl
    3. Build a simple BMM and subject area
    4. In the phyiscal layer, right click on a table, and select view data/update row count. Error with message "The connection has failed"
    5. Hoping for the best, create a simple query in answer and got the above odbc driver error in results tab.
    Interestingly, if I edit the connection pool and use OCI (my SID is also orcl), then everything works fine.
    I'm new to OBIEE and hope someone can tell me if I have missed a step or make any mistakes!
    Thanks!
    Regards
    Han Kiat

    Hi All,
    I am able to connect SQL Server database with OBIEE 11g RPD offline and imported metadata and verified update row count/view data but when i was trying to publish the same RPD the data is not returning also "update row count/view data" is giving and error "The connection has failed."
    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: IM002 code: 0 message: [DataDirect][ODBC lib] Data source name not found and no default driver specified. (HY000)
    Environment:
    OBIEE 11g/WLS 10.3.3/Oracle database 11g installed on RHL 5
    Client tools are installed on local Vista 32 bit system.
    Oracle database is working fin, where as SQL Server is giving issues.
    You want me to create a ODBC connection in RHL 5 server to connect to SQL Server ? i am little bit confused here how to create !
    same time i have created ODBC for oracle apps database and imported and able to view data in RPD when i am in Online mode.
    When i open RPD in online mode and trying to import the data i dont have access to local machine ODBC's which is expected and if i change to "Remote Server" nothing is showing here.
    Appreciate your comments on the above.
    Thanks

  • Visio Database Wizard fails - ODBC connection to MS SQL

    When I try to create an ODBC connection in Visio's 2010's Database wizard I get the error: "Cannot set the database context information. Additional error information:ODBC Error: s1009. Database cxweba does not exist."
    Note that the database name is cxwebapp_bkk. I get the same error if I connect to any database on that server, and it always truncates the name in the error message (if that is a hint to the error). 
    Using Visio 2013, after connecting to the database: when I select the database object I get the error message:  "The selected table has only one field or contains no definition information. The Database Wizard requires a minimum of one key field
    and one additional data field."
    I have this problem using both SQL Server driver (6.02.9200.116384 and SQL Server Native Client 11.0 (2011.1102.2100.60).
    I do not have this problem connecting to a MYSQL database with either version of Visio, nor do I have this problem when I link link to the same SQL database in a drawing and link shapes in that drawing using the "Link Data to Shapes" under the
    Data tab.

    Hello,
    What's the version of the SQL Server instance you connect to? It seems that the Database Wizard in Visio 2010 not work well with the Microsoft SQL Server ODBC driver. Did you try to use the Generic OLEDB Provider for SQL Server?
    Since the issue is more related to office Visio, please post the question in the following forum. More experts there will assist you:
    Visio General Questions and Answers for IT Professionals
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • ODBC Connection problem with SQL Native Client driver with CR 11

    I am having an issue connecting my crystal reports to an ODBC connection that uses the SQL Native Client driver (Version 2005.90.2047.00).  My reports work fine when using the SQL Server driver (Version 2000.85.3006.00).   The ODBC connection is setup to use Integrated Windows Authentication and is defaulted to go to the correct database.  When I test the ODBC connection in the 'ODBC Data Source Adminstrator' it connects fine.
    The reports are trying to connect to stored procedures on a SQL Server 2005 database.  I can log onto the ODBC connection in CR X1.  When I try to set the Datasource connection for one of my reports to the ODBC connection I created, I get the following error:
    'Some tables could not be replaced, as no match was found in the new data source.  Please specify the table required for any unmodified tables.'
    When I drill down to the SP and try to update the datasource location of the SP directly I get the following errors:
    'Data Object cannot be opened/accessed'
    and
    'Unknown Database Connector Error'
    As I said, I don't have any problems when using the SQL Server 2000 driver.  One other thing to mention, when I initially connect to the ODBC connection in CR X1 with the SQL Native Client driver, it asks for a username and password.  I leave these blank since I'm using Windows Authentication.
    Any advice would be appreciated.
    System:
    Windows XP
    Service Pack 3
    Crystal Reports XI:
    Product Version 11.0.0.1282

    Hi Jeff,
    I just tried to create a new report using the native driver and there is no option to use Trusted Authentication. This would be why it's failing.
    I don't believe we fully supported Native driver in Cr XI. Try downloading CR Xi R2 and install SP6 from this info:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I tested it in R2 and the Trusted Authentication option is there so your reports should work.
    Thank you
    Don

  • ODBC connectivity between Oracle 11G and MSSQL Server on Solaris 10

    When we were running in 10G, I was able to successfully configure hsodbc using unixODBC and freeTDS to allow for an ODBC connection between Oracle and MSSQL Server.
    A few weeks ago we upgraded to 11G and I've been struggling to get the connectivity (dg4odbc) working.
    In our 10g environment unixODBC and freeTDS were compiled as 32-bit. I have recompiled them as 64-bit and switched over to an 11G listener and I am getting the following error:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    here are my configuration files:
    /usr/local/unixODBC/etc[PPRD]> more odbc.ini
    [ODBC Data Sources]
    identipass = MS SQL Server
    [identipass]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    Setup = /usr/local/freetds/lib/libtdsodbc.so
    Description = MS SQL Server
    Trace = 1
    TraceFile = /export/home/oracle/ODBC/odbc.trace
    Server = stormwind
    QuoteID = Yes
    AnsiNPW = No
    Database = identipass
    Port = 1433
    TDS_Version = 8.0
    [Default]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    /usr/local/unixODBC/etc[PPRD]> more odbcinst.ini
    [TDS]
    Description=FreeTDS driver
    Driver=/usr/local/freetds/lib/libtdsodbc.so
    Setup=/usr/local/freetds/lib/libtdsodbc.so
    Trace=Yes
    TraceFile=/tmp/freetds.log
    FileUsage=1
    UsageCount=2
    tnsnames.ora
    identipass =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SID = identipass)
    (HS = OK)
    listener.ora
    LISTENERODBC =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENERODBC=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=identipass)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    (ENV="LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/hs/lib")
    (PROGRAM=dg4odbc)
    And finally, output from the trace file:
    /u01/app/oracle/product/11.2.0/db_1/hs/log[PPRD]> more identipass_agt_1381.trc
    Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.010
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- THURSDAY NOV 18 2010 16:00:16.008
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "Debug"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "AL32UTF8"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLSt
    atistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "identipass"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:identipass
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=873
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2010/11/18-16:00:16
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/unixODBC/lib/libodbc.so"
    Entered hgolofns at 2010/11/18-16:00:16
    symbol_peflctx=0x7a715450
    hoaerr:0
    Exiting hgolofns at 2010/11/18-16:00:16
    Exiting hgolofn, rc=0 at 2010/11/18-16:00:16
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2010/11/18-16:00:16
    Entered hgolgon at 2010/11/18-16:00:16
    reco:0, name:identipass, tflag:0
    Entered hgosuec at 2010/11/18-16:00:16
    Exiting hgosuec, rc=0 at 2010/11/18-16:00:16
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using identipass as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/11/18-16:00:16
    HS_FDS_CONNECT_INFO = "identipass"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/11/18-16:00:16
    dsn:identipass, name:identipass
    optn:
    Entered hgocip at 2010/11/18-16:00:16
    dsn:identipass
    Exiting hgocip, rc=0 at 2010/11/18-16:00:16
    Exiting hgogenconstr, rc=0 at 2010/11/18-16:00:16
    Entered hgopoer at 2010/11/18-16:00:16
    hgopoer, line 233: got native error 0 and sqlstate ; message follows...
    Exiting hgopoer, rc=0 at 2010/11/18-16:00:16
    hgocont, line 2753: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgocont.c LINE:2772 ID:Something other than invalid authoriza
    tion
    Exiting hgolgon, rc=28500 at 2010/11/18-16:00:16 with error ptr FILE:hgolgon.c LINE:781 ID:Calling hgocont
    Entered hgoexit at 2010/11/18-16:00:16
    Exiting hgoexit, rc=0
    Can anyone help me see what I'm missing?

    Thank you for your response.
    I modified the envs LD_LIBRARY_PATH parameter in my SID_LIST_LISTENERODBC to be:
    (ENV="LD_LIBRARY_PATH=/usr/local/freetds/lib:/usr/local/unixODBC/lib:/u01/app/oracle/product/11.2.0/db_1/lib:/
    u01/app/oracle/product/11.2.0/db_1/hs/lib")
    and bounced the listener, but I'm still getting the same error.
    I do not have a lib64 directory in my Freetds installation, but all the files in the lib directory are 64-bit.
    Here is a listing of my DG4ODBC init file:
    /u01/app/oracle/product/11.2.0/db_1/hs/admin[PPRD]> more initidentipass.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = identipass
    #HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_LEVEL = Debug
    HS_FDS_SHAREABLE_NAME = /usr/local/unixODBC/lib/libodbc.so
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
    # ODBC specific environment variables
    set ODBCINI=/usr/local/unixODBC/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Thanks for your help with this!
    Catina

  • ODBC--connection to 'SQL Serverservername' failed for one user but not another

    In Win7, we're linking tables in an MS Access 2010 db to tables in a SQL Server 2008 R2 db. The driver user by the File dsn is SQL Server version 6.01.7601.17514 & we're using SQL Server Authentication.
    For some reason, one user gets the msg "ODBC--connection to 'SQL Serverservername' failed" before they're even asked for a password, but for other users, the prompt comes up and when they uncheck the Windows Auth box, they enter their password
    and connect successfully to the SQL Server db.  Both users have db_datareader access to the SQL Server db.
    I had the user that gets the error msg log onto my PC and they get the same error (yet it works for me.)
    This user was, however, able to successfully relink the tables, but then when we closed the access db and opened it again, the user got the "ODBC--connection..." error agin.
    I'm stumped as to why this is happening for one user.

    Hello Knellen,
    Please help to collect more log information regarding this issue, such as windows event log, SQL Sever log information. They are helpful for us to troubleshoot it.
    Regards,
    Elvis Long
    TechNet Community Support

  • VS 2005 ODBC Connection for CR XI Report

    Post Author: Mohan56
    CA Forum: .NET
    Hello,
    In VS 2005, I am using the CrystalReportViewer to display my report on Windows Form.  This report uses the ODBC connection (defined in System Data Sources Name (DSN) as infimacs) to an Informix database, using NewEra Informix7 driver. In Crystal Reports XI, when I run the report a window pops up (first time and not on refresh) prompting me to enter Login and Password for the ODBC connection and also does to same thing in the Windows Form.  My question is how do I pass this Login/Password info from VS 2005 to CR XI, so the Login/Password window is not displayed to the end user ?  Following is the current code which is not working.  I am a new user of VB and CR and I thank you in advance. Mohan56
    Case "Inventory Costed - WIP"
    Me.CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.ServerName = "ServerName"
    Me.CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.DatabaseName = "DB"
    Me.CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.UserID = "User"
    Me.CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.Password = "pwd"
    Me.CrystalReportViewer1.ReportSource = Me.InventoryCosted

    Post Author: Mohan56
    CA Forum: .NET
    The following fixed this issue, and ReportSource must be defined before Login Info
    Case "Inventory Costed - WIP"
                    Me.CrystalReportViewer1.ReportSource = Me.InventoryCosted
                    Me.CrystalReportViewer1.LogOnInfo.Item(0).ConnectionInfo.Password = "xxxxxx"

Maybe you are looking for

  • Oracle HTMLDB report output in PDF format using FOP

    Hi, We are currently using Oracle HTMLDB1.6.I am trying to implement the HTMLDB report output in PDF format.I got at document but it is not clear.Could you please let use know wheether anybody has already used in their organization. Appreciate your r

  • RedHat 9 and Neo2

    Has anyone installed Redhat 9 with this motherboard(Neo2 LS 865PE)? I have tried to install but installation gets stuck at hardware checking. My harddrive, graphics card are compatible. Checked on redhat website. I cannot find any info on motherboard

  • How can I have wireless network in my new notebook

    I bought a MacBook Pro but am unable to join Wi-Fi Network at home.  They are asking to enter the network password.  Where do I find that?

  • Sync iPhoto album with iCloud photo stream

    I have a couple of albums - used basically as categories. I want to be able to sync the albums with iCloud. I know you could just add the photos to an iCloud photostream, but it takes a couple extra minutes each time when you do that. So basically, I

  • Page Titles & Photo Captions - help?

    CAn anyone help? I am needing to add captions to the photos on hte site I built with iWeb and can't work out how to do this. I think they are also known as Alt-Tags. Also, I have been trying to add page titles, the words that appear in the blue line