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"

Similar Messages

  • How to establish the ODBC connectivity for Hyperion Brio

    Hi Every One,
    Please some one let me know how to establish the ODBC connectivity for Hyperion Brio/ interactive reporting studio.?
    Thanks & Regards,
    Raj

    check out the manual
    http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/ir_user.pdf
    chapter 15
    Edited by: [email protected] on Feb 9, 2010 7:00 AM

  • Can't Create the ODBC connection for Oracle 10g

    Hi,
         I am working with Oracle 10g Database Release 2 in windows XP professional. I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator library
    Please help me how can I solve this problem and create the ODBC connection for oracle 10g database.
    Best Regards,

    mwz wrote:
    I am trying to create an ODBC connection for oracle but become failure because its generating the following errors:
    system error code 998
    could not locate the setup or translator libraryThe symptom described is typical of an incorrect system env PATH setting (used by the data source admin tool), compared to that of the Oracle Home (specifically, path $OH/bin). The odbc driver config routine will search directories listed in PATH variable for necessary libraries (Client dll's). If some library fails to load (from e.g. oraoci*.dll or oraclient10.dll) it will probably error out, as in your case.
    Are you creating the odbc dsn on the databse server host or on some other machine? I.e. are you using the db host as a client or not?

  • How to change the connection for a recurring report

    I have a group of reports running in production on recurring schedules.  I need to update the database connection for these as we are changing our server environment.
    I open the report in Crystal Reports 11 and changed the database connection saved the report back to the Enterprise Server location (I also have a backup of the original).  When I preview the report using the Central Management Console, the report uses the updated database connection info.  When I test the recurring report I get a logon failure.  When I go to the instance to look at the database logon for the recurring instance it shows the old database connection.
    How can this database connection get updated for the current group of instances for these recurring reports?
    Thanks
    BOBJCMC

    Hi Stratos,
    I tried to use .NET SDK to update the Logon_Info properties as below. But it does not seem to be working. Is this the correct way to update logon info for recurring instances?
    infoObject.ProcessingInfo.Properties["SI_LOGON_INFO"].Properties["SI_LOGON1"].Properties["SI_USER"].Value  = <userid>
    infoObject.ProcessingInfo.Properties["SI_LOGON_INFO"].Properties["SI_LOGON1"].Properties["SI_PASSWORD"].Value  = "pwd"
    Thanks
    Ajith

  • How to create a odbc connection for OBIEE11g in windows

    hi all,
    i installed obiee 11g on linux ,also i installed obiee11g clients on windows 7..
    how to configure and crreate rpd using admin tool.
    waiting for ur reply....
    Thanks and Regradts
    kannan G..

    i think you should once go through with the following link may it can help you
    http://oraclebisolutions.blogspot.co.uk/2013/01/obiee11g-configuring-odbc-dsn-for.html

  • Odbc connectivity for oracle lite

    Can Oracle lite be connected through ODBC for a windows front end application developed (other than developer 2000)

    Hi
    Can anyone please give the connect string to connect to Oracle Lite through ODBC driver from a VB.NET windows front end application?
    Regards
    Sangeetha

  • ODBC connectivity for Oracle9i database?

    Hi,
    We are looking at future database platform requirements for our customer service application and starting to look at Oracle 9i. Does anyone know at this early stage whether 9i will support connectivity from an older application which requires ODBC? Is it correct to assume it will have the same level of ODBC driver support as Oracle 8i?
    Thanks,
    Graham Bleakley
    royalblue technologies

    I'm sure that there will be Oracle9 ODBC drivers when 9i ships. Assuming you'll be connecting only to an Oracle8 or Oracle9 database, you should be just fine.
    The only possible wrinkle I can come up with would be if you're trying to connect to an Oracle7 database (or connect an Oracle7 client to a 9i database). I'm not sure this will be supported.
    Justin

  • ODBC connectivity for ORACLE RDB

    Hi,
    I am trying to configure ODBC Agent with oracle to access ORACLE RDB.
    I have installed ORACLE RDB ODBC driver and created SYSTEM DSN named
    "dcprdb".
    My configuration files are as follows
    inithsodbc.ora (at E:\oracle\ora81\hs\admin)
    HS_FDS_CONNECT_INFO = dcprdb
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_TRACE_FILE_NAME = hsodbc.trc
    tnsnames.ora (at E:\oracle\ora81\network\ADMIN)
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1527))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS=)
    listener.ora (at E:\oracle\ora81\network\ADMIN)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = E:\oracle\ora81)
    (PROGRAM = hsodbc)
    CONNECT_TIMEOUT_LISTENER = 0
    I restarted the TNS Listener service. Then, I have created DB link using the following command:
    CREATE DATABASE LINK hsodbc
    CONNECT TO <user_name> IDENTIFIED BY <password>
    USING 'hsodbc';
    When I executed the following query, I am getting the following error message:
    select * from model@hsodbc;
    Error Message:
    select * from modl@hsodbc
    ERROR at line 1:
    ORA-02068: following severe error from HSODBC
    ORA-28511: lost RPC connection to heterogeneous remote agent using
    SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=207.53.38.129)(PORT=
    1527)))(CONNECT_DATA=(SID=hsodbc)))
    I am using Windows 2000 OS and Oracle8i Enterprise Edition Release 8.1.7.0.0
    When I executed "tnsping dcprdb" at E:\oracle\ora81\bin, it works well. (see, below)
    E:\oracle\ora81\bin>tnsping dcprdb
    TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 20-JAN-20
    04 19:41:06
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=ip_address)(PORT=1527))
    OK (810 msec)
    E:\oracle\ora81\bin>
    Thanks in Advance
    Thiru

    try to write into file
    tnsnames.ora (at E:\oracle\ora81\network\ADMIN)
    hsodbc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1527))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS=OK) --this is important

  • ODBC Connectivity for Oracle 8.1.6

    Hi, I am trying to find odbc.ini file so as to connect using ODBC, but am not being successful. Can anybody help?

    Are you trying to connect to a Linux database from a Windows client, or are you trying to connect from a Linux client? Which ODBC driver are you using?
    Justin Cave

  • How to connect to database for all the reports FR

    Hi,
    I have developed 100 reports in production client, for testing purpose I have moved to
    test client. How can I connect to database for all the reports at a time?
    Regards
    Taruni

    Hi Taruni,
    You can connect to the database connection for all the reports through workspace in HFM.
    Connect to HFM Workspace-->click on Explore option-->and click on Tools-->click on Data Base Connection Manager and change the respective connections from Production Instance to Test Instance with required information, and than you will be able to connect to Test database for all the reports at a time.
    Regards,
    Srikanth

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

  • Error: Failed to open the connection when opening Crystal Report in CMC or

    Hello all,
    I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
    with access database as the datasource which is in the network drive.

    Hi Sonali,
    This is because Crystal Reports does not recognize database connection from share drive
    1. Save the database locally on server machine
    2. Create a new database on server and link the new database with the database on Network.
    Steps to link the database.
    1.Create a new test database on server.
    2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
    3. Select all the tables from the database.
    4. Save the Database  e.g. Test.mdb.
    5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
    Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
    6. Create a report using this ODBC connection, and save the report to Enterprise.
    Regards,
    Navin

  • Data services on Linux to MS SQL ODBC connection

    We have DS 4.1 SP2 running on Linux and trying to connect to MS SQL database via odbc. The admin guide tells you to modify the ds_odbc.ini file with an entry like this:
    [test_Microsoft_SQL_SERVER]
    Driver = <install_location>/lib/libodbc.so
    RebrandedLib = TRUE
    where install location is location of datadirect ODBC driver. But the problem is there is no libodbc.so in this library. There is a libodc.a file there instead.
    Secondly, it also tells us to modify the file referenced by $ODBCINI with the following entry. In my case, ODBCINI also references to ds_odbc.ini under /dataservices/bin folder !!. Also, below it tells you to enter the /lib/DAmsssxx.so file location. But there is no such file under datadirect/lib folder. There is a DAsql25.so instead.
    [test_Microsoft_SQL_SERVER]
    Driver=<install_location>/lib/[DA][DD]msssxx.so
    Description=DataDirect <current version number> SQL Server Wire Protocol
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=<database_name>
    EnableQuotedIdentifiers=1
    HostName=<SQL_Server_host>
    LoadBalancing=0
    LogonID=
    Password=
    PortNumber=<SQL_Server_server_port>
    QuotedId=No
    ReportCodePageConversionErrors=0
    DriverExpirationBehavior=1
    What should I do ? which file do I need to modify exactly and with which library ?? I don't have to modify the odbc.ini file at all ??
    Do I need to install the Data direct drivers first ?? if so, how ?
    Thanks
    BV

    Hi,
    ODBC connectivity from your machine will not help as the connectivity to SQL Server will be established from the job server.
    On the connectivity test, can you please check with your Linux admin. You can also refer to the following link for some details.
    Links:
    http://www.easysoft.com/developer/interfaces/odbc/linux.html
    https://wiki.archlinux.org/index.php/Odbc
    Can you please check the following link. this is specific to ODBC connectivity for Linux based job server.
    Links:
    http://wiki.sdn.sap.com/wiki/display/EIM/ODBC+connections+from+a+Linux+%28or+UNIX%29+jobserver
    The below is for SQL server based connectivity from Linux.
    Links:
    http://wiki.sdn.sap.com/wiki/display/EIM/To+configure+DataDirect+ODBC+on+Linux+and+Unix
    Or Please refer below thread
    Link:
    Data Services 4.0 connectivity to SQL Server 2005
    Thanks,
    Daya

  • ODBC connectivity gone

    Post Author: gronkette
    CA Forum: Data Connectivity and SQL
    I created a report using the ODBC connection to an Oracle database - when I went back to refresh, the connection was gone.  I've checked everything that I can check - I was able to use the ODBC to connect using MS Access - that was fine.  I had to redirect the report to use the regular Oracle connection.
    This could be a "huge" problem because almost all my new reports will be using ODBC - any suggestions?
    I also started receiving the dreaded cr.exe error!

    Post Author: ilektriksky
    CA Forum: Data Connectivity and SQL
    It appears that CR has some very serious issue with using the Oracle ODBC drivers.  I too have had several problems getting them to work and am in the same boat in that I must use the ODBC connection so that the reports can be integrated into a 3rd party app.  I'm also very frustrated as I have searched for a while now to try to find a solution and no one else seems to have any answer for these problems. It is clearly a bug within CR itself as the ODBC connection works for everything else. Sorry I don't mean to vent on this reply.  Anyway just wanted you to be aware that there does seem to be issues.  If you do happen to find a fix please let me know as I'm sure my problem is related to yours.

  • Excel import on Oracle Linux - How to create an ODBC Connection

    Hi,
    We have Oracle BI EE on Oracle Linux. We need to create an ODBC DNS and import tables to Admin tool.
    How would you create a ODBC connection inside Linux to Microsoft excel file using unixodbc. What drivers we need.
    Please let us know.
    Thanks!
    Nilaksha.

    See this post here: Re: [NQODBC][SQL_STATE: HY000][nQSError: 100[nQSError: 43093][nQSError: 16023]
    You need to find an Excel ODBC driver for Linux. The ones that come with OBIEE won't read Excel as far as I know.
    For info on creating an ODBC connection for OBIEE on Linux check the manual or search this forum. You don't need unixodbc for it.

Maybe you are looking for