CR2008, C# and DB2 - Connection Info

I have a report, originally created in Crystal Reports ver 9, and I have loaded it successfully in CR 2008 (stand alone).  I am able to run that report just fine, it prompts me for the parameter needed for the report, then it promts me for an ODBC data source, which I select, and it runs as expected.
BTW, this report was generated using a COMMAND to specify the necessary tables and fields for the report instead of selecting specific table and field names (since the list of tables is unavailable via the ODBC link)
However, in my C# code, I cannot get it to run.  It would appear the information required in the ConnectionOnfo object isn't appropriate for an ODBC datasource, unless I'm over looking something.  So can somebody help me out with setting this up so it runs correctly?
        private void RunReport()
            ReportDocument oRpt = new ReportDocument();
            try
                oRpt.Load(this._Settings.ReportDirectory + this._ReportFile);
            catch (Exception err)
                Console.WriteLine(err.Message);
                Console.ReadKey();
            ConnectionInfo connInfo = new ConnectionInfo();
            // the ODBC DSN on this system is GS30QA, but I'm not sure how to specify this via the ConnectionInfo
            // object... So instead I'll list the actual elements for the cnnection
            connInfo.DatabaseName = "GS2007";
            connInfo.UserID = "secret";
            connInfo.Password = "secret";
            connInfo.ServerName = "PHX-VM-GS30QA1";
            Tables oTables = oRpt.Database.Tables;
            foreach (CrystalDecisions.CrystalReports.Engine.Table oTbl in oTables)
                TableLogOnInfo tableLogonInfo = oTbl.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connInfo;
                oTbl.ApplyLogOnInfo(tableLogonInfo);
            oRpt.SetParameterValue(0, 0);
            // this fails, with an error message of
            // {"Failed to open the connection.\rFailed to open the connection.\nUSPS_ItemizedManifest {DA872B86-5A97-4CF5-B099-2C866D933351}.rpt"}
            oRpt.ExportToDisk(ExportFormatType.PortableDocFormat, @"C:\NET 2.0 Projects\Logicor.GSRouter.Reports\Logicor.GSRouter.Reports\Outputs\test1.pdf");

Sorry to necro this post, but I was temporarily pulled off this specific project to handle somethig else that was considered a
higher priority.  Now that I'm finished with that task, it's time to revisit this.  Unfortunately, there's been no progress.
Also, so everything is clear... When I run this report in the Designer, and press F5 the report promts me to choose an ODBC DSN, and
I choose this very same one and the report runs.  I just cannot get it to run via the code, it's unable to connect to the DB,
although I don't know why since it's obvious the report runs in the designer just fine.
I did as the last post said:
// name of the 32 bit System DNS on this machine
connInfo.ServerName = "GSDEMO";
// name of the actual database
connInfo.DatabaseName = "GS2007";
connInfo.UserID = "secret";
connInfo.Password = "secret";
Tables oTables = oRpt.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table oTbl in oTables)
    TableLogOnInfo tableLogonInfo = oTbl.LogOnInfo;
    tableLogonInfo.ConnectionInfo = connInfo;
    oTbl.ApplyLogOnInfo(tableLogonInfo);
    // this return false, but I expected that because it's never been able to connect.  I need to know why, which is what I've
    // never been able to discover.
    bool blConnected = oTbl.TestConnectivity();
    Console.WriteLine("Connected: " + blConnected.ToString());
The error I get this time is
Failed to open the connection.
Details:  [Database Vendor Code: -1013 ]
Failed to open the connection.
USPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt
Details:  [Database Vendor Code: -1013 ]
CrystalDecisions.CrystalReports.Engine.InternalException was unhandled
  Message="Failed to open the connection.\nDetails:  [Database Vendor Code: -1013 ]\rFailed to open the connection.\nUSPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt\nDetails:  [Database Vendor Code: -1013 ]"
  Source="CrystalDecisions.ReportAppServer.DataSetConversion"
  StackTrace:
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
       at Logicor.GSRouter.Reports.MsgParser.RunReport() in C:\NET 2.0 Projects\Logicor.GSRouter.Reports\Logicor.GSRouter.Reports\MsgParser.cs:line 140
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Runtime.InteropServices.COMException
       Message="Failed to open the connection.\nDetails:  [Database Vendor Code: -1013 ]\rFailed to open the connection.\nUSPS_ItemizedManifest_CR2008 {CD9615AE-3601-4E89-B49B-FB2D54726593}.rpt\nDetails:  [Database Vendor Code: -1013 ]"
       Source=""
       ErrorCode=-2147482892
       StackTrace:
            at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
            at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       InnerException:

Similar Messages

  • OWB and DB2 connection

    I have connected Oracle 9i and DB2 v7 and query DB2 in SQL Plus is fine. However, it doesn't for the connection between OWB and DB2.
    Anyone can help?
    Thanks!

    Try the following and use the database link as the source.
    1. Copy inithsodbc.ora to initQA_DB2.ora in $ORACLE_HOME\hs\admin
    HS_FDS_CONNECT_INFO=DNS_NAME_OF_YOUR_CONNECTION
    HS_FDS_TRACE_LEVEL=0
    2. Add the following lines to listener.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    (SID_DESC =
    (SID_NAME = QA_DB2)
    (ORACLE_HOME = $ORACLE_HOME)
    (PROGRAM = hsodbc)
    3. Add the following lines to tnsnames.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    DB= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=localhost)
    (PORT=1521)
    (CONNECT_DATA = (SERVICE_NAME=QA_DB2)
    (HS = OK)
    4. Execute CATalog script for Heterogeneous Services in Oracle server ($ORACLE_HOME\RDBMS\ADMIN\caths.sql)
    5. Create database link
    drop public DATABASE LINK dwh_qa_db2;
    CREATE public DATABASE LINK dwh_qa_db2 CONNECT TO "carlosmo" IDENTIFIED BY "E1Qual" USING 'DB2';
    6. Test the connection
    SELECT *
    FROM SomeTable@dwh_qa_db2

  • Developer 6i and DB2 connectivity.

    I am using Oracle8i with Developer 6i.
    I need to connect to DB2/400 (running under OS/400) from Forms Developer 6i
    i have IBM AS400 Client Access (version : 3, release : 2,
    modification level : 0 ) installed on this machine, which
    is working allright, i have checked it by using datatransfer from
    AS/400.
    the username on DB2 is ORACLE (password is same as username).
    i have created ODBC system data source (named SYSDB2) for OCA connection
    while i connect from sqlplus, it connects with some error messages as
    shown below, however it works allright for querying.
    SQL> CONN ORACLE/ORACLE@ODBC:SYSDB2 ;
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected.
    SQL>
    i have run PUPBLD.SQL but had no affect on these messages .
    When i try to create data dictionary views for DB2 from this connection
    by running script (Db4dmbld.sql) it does not create data dictionary.
    its fine till this happens, the real problem is that i am
    unable to connect to db2 by using odbc datasource from forms6i.
    when i try to connect it shows some special characters in a
    message box which can't provide any information.
    please let me know if there is any fix to this problem.
    regards,
    aamir.

    Hi,
    the site where you can find it is http://technet.oracle.com/doc/gateways.htm
    The gateway has no database functions. The gateway provides an interface by which the Oracle server can direct SQL operations to a DB2 database.
    Using a database link, the gateway is identified to the Oracle server. The database link is the same construct used to identify other Oracle server databases.
    Tables on the DB2 server are referenced in SQL as:
    table_name@dblink_name
    or
    owner.table_name@dblink_name
    If you create synonyms or views in the Oracle server database, you can refer to tables on the DB2 server using simple names as though the table is local to the Oracle server.
    When the Oracle server encounters a reference to a table on the DB2 server, the applicable portion of the SQL statement is sent to the gateway for processing. Any host variables associated with the SQL statement are bound to the gateway and, therefore, to the DB2 server.
    The gateway is responsible for sending these SQL statements to the DB2 server for execution and for fielding and returning responses. The responses are data or messages. Any conversions between Oracle datatypes and DB2 datatypes are performed by the gateway. The Oracle server and the application read and process only Oracle datatypes.
    --Samson
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Aamir Muhammad ([email protected]):
    Thanks Samson for you only reply on the
    topic, would you kindly tell me where can i find Oracle's Transaction Gateway for AS/400?
    Inspite all appreciation that i feel for you, What i think is that Gateways are used to establish connections between two databases not between a tool and a database like forms and AS400.<HR></BLOCKQUOTE>
    null

  • DreamWeaver CS5, PHP and DB2 Connections

    Hi,
    I have been playing around with a XAMPP server, a mySQL database and DW CS5. This all works great and DW is a great assistant compiling the necessary PHP code so I dont have to worry about all that.
    I do have a number of DB2 database I would like to attach to and there is nothing untuitive in DW allowing me to connect to DB2 databases. Has anyone seen any useful examples here
    All my Apache and DB2 server are running on Linux hence Windows samples will not be that useful to me.
    ThnX in advance for any hints.
    - Bjoern

    Hi,
    I have been playing around with a XAMPP server, a mySQL database and DW CS5. This all works great and DW is a great assistant compiling the necessary PHP code so I dont have to worry about all that.
    I do have a number of DB2 database I would like to attach to and there is nothing untuitive in DW allowing me to connect to DB2 databases. Has anyone seen any useful examples here
    All my Apache and DB2 server are running on Linux hence Windows samples will not be that useful to me.
    ThnX in advance for any hints.
    - Bjoern

  • JSP and DB2 Connection

    I tried to use this class in my jsp page to connect to the DB2 database, However, no data from the DB appears on the page and i get no errors whatsoever. Can anyone be kind enough to take a look? Thanks
    package WH;
    import java.sql.*;
    import java.sql.Statement;
    public class DbConnect1 {
    private String dbUser = "XXX";
    private String dbPasswd = "XXX";
    private String dbDriver = "COM.ibm.db2.jdbc.app.DB2Driver";
    private String dbURL = "jdbc:db2:http://xx.xx.xxx.xx:8080/invsys";
    private Connection dbCon;
    public DbConnect1(){}
    public boolean connect() throws ClassNotFoundException,SQLException{
    try
    Class.forName(dbDriver);
    System.out.println("Loaded the instantDB JDBC driver.");
    dbCon = DriverManager.getConnection(dbURL, dbUser, dbPasswd);
    System.out.println("Created and connected to database TimingTest");
    return true;
    catch (Throwable e)
    e.printStackTrace();
    System.out.println("FAIL LAHHHHHHHHHHHH");
    return false;
    public void close() throws SQLException{
    dbCon.close();
    //accepts the SQL query in the form of a string from the JSP file in which this bean is implemented
    public ResultSet execSQL(String sql) throws SQLException{
    System.out.println("haha");
    //initiates the connection with the dbCon connection object
    Statement s = dbCon.createStatement();
    ResultSet r = s.executeQuery(sql);
    return (r == null) ? null : r;
    public int updateSQL(String sql) throws SQLException{
    Statement s = dbCon.createStatement();
    int r = s.executeUpdate(sql);
    return (r == 0) ? 0 : r;

    Here is a copy of my JSP file.
    <%@ page language='java' %>
    <%@ page import="java.sql.*" %>
    <jsp:useBean id="DbConnectBean1" scope="page" class="WH.DbConnect1" />
    <%
         //Get status
         /*String message;
         String status = request.getParameter("status").trim();
         if (status == "duplicateEmail")
         message="Please try again. An account with the same emaill address has already been created.";
         else if (status == "deleteOk")
         message="Delete successful.";
         else
              message="";*/
    //Get Contacts
         String name;
         String email;
         String extNo;
         String phoneNo;
         String remarks;
         String SQLstmt;
         SQLstmt = "Select * from CONTACT";
    if (DbConnectBean1.connect()==true){
    %>
    <html>
    <head>
    <title>Display Contacts</title>
    <script src="validation.js" language="Javascript"></script>
    <script Language="JavaScript">
    //Perform Validation
    /* function checkForm() {
    var alertString=checkChkBox(theForm.chkItem.value);
         formSubmit(alertString);
    </script>
    </head>
    <body bgcolor="#ffffff">
    <form action="USRDelContact.jsp" name="theForm" onsubmit="return checkForm();">
    </form>
    <table>
    <tr>
    <td><input type="chkAll" id="chkAll"onclick="checkAll(document.theForm.chkItem)"/></td>
    <td>Name</td>
    <td>Extension No.</td>
    <td>Mobile Phone No.</td>
    <td>Email Address</td>
    <td>Remarks</td>
    <td> </td>
    </tr>
    <%
         ResultSet r = DbConnectBean1.execSQL(SQLstmt);
         while (r.next()){
    %>
    <tr>
    <td><input type="checkbox" name="chkItem" id="chkItem" value="<%= r.getString("Email")%>"/></td>
    <td><%= r.getString("Emp_Name")%></td>
    <td><%= r.getString("Ext_No")%></td>
    <td><%= r.getString("Cellphone")%></td>
    <td><a href="mailto:<%= r.getString(Email")%">"><%= r.getString("Email")%></a></td>
    <td><%= r.getString("Remarks")%></td>
    <td><a href="USREditContact.jsp?email=<%= r.getString("Email")%>">Edit</a></td>
    </tr>
    <%
    if (r.next()==false)
    %>
    <tr>
    <td colspan="7">There are no records currently.</td>
    </tr>
    <% }
    }//end if%>
    <tr colspan="6">
    <td>
    <%//=message%> <input type="submit" name="btnDelete" value="Delete">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    </a>

  • Oracle 8i and DB2 Connectivity

    Hi,
    I dont know whether this is right forum to post this query.
    I want to connect to DB2 from Oracle 8i. I have read some documentation about Oracle gateways but it is not clear of how exactly we can connect to DB2.
    If any one has done this before please let me know th detail steps of how we can connect to DB2.

    You can use oracle product Interconnect. If you search on interconnect you will get your answer.

  • MWP Toplink file and DB connection info

    Hi all.
    When I generate a DBAdapter, TopLink creates a mwp file which contains static database configuration info. Is this a design time only configuration, or is it also used at runtime??
    By the way, what's the purpose of this MWP configuration file?? :-)
    Thanks
    Denis

    Hello Denis,
    more insight on your question available in the documentation.
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel006.htm
    section : 7.6.2 What Happens When You Configure a Database AdapterAnswer to your design time/run time question from the documentation :
    ===================================
    The Java classes that are created as part of the descriptor generation process are never actually deployed with your process or used at runtime.
    They are present in the design time because Oracle TopLink Workbench is expecting each descriptor to be associated with a Java class.
    When your process is deployed, the mapping metadata is stored in toplink_mappings.xml.
    ===================================
    Hope this clarifies your doubt ...
    Regards,
    Madhu !

  • I connected my iphone to the computer after my husband had been connect with his iphone, I lost all my photo's contact's and calendar and my husbands info  was dowe loaded to my phone. How do i get rid of his stuff and retieve mine

    I connected my iphone to the computer after my husband had been in itunes with his iphone, when i connected my phone I lost all my info, photo's calendar, contacts etc, and my husbands info was downloaded on to my phone. how do I retrieve my info and get rid of his.

    are you using icloud? if so try to log in on your phonre using your apple id not your husbands.
    do this for me ok?
    thanks,
    techguy3347

  • Connections to Sybase and DB2

    Hi,
    Does SQLDevelopeer can connect to Sybase and DB2 databases, do I have to pay something else?
    Regards,

    hi,
    SQLDevelopeer can connect to Sybase and DB2 databases besides other databases. You need to include JDBC driver jar files in SQLDev preference settings. Please check help doc for more information.
    - Rakesh

  • Digital Connections, SPDIF and Dolby Digital Info

    I have noticed that many people have problems using their digital connections, so I put together this info to try and explain the difference between digital and analogue, and how to use them.
    Digital ConnectionsDigital connections come in two standard forms, optical and coax. They both give you exactly the same result, the only difference is the medium (material) through which the signal travels. The thing to remember about digital is that for ordinary, uncompressed sound, it will only carry a stereo signal. So, if you like to use CMSS with your music, or you try the speaker test function, optical/coax is useless as you only hear the front left/right speakers.
    Movies wth Dolby Digital (AC3) & DTSMovies on DVD often use encoded audio in the form of Dolby Digital (AC3) or DTS. This means that all 6 channels are compressed into a single stream of digital data. A decoder is required to extract the channels and send the sound to the correct speakers. There are three ways to do this.
    ) Pass the AC3/DTS signal to a external decoder. This is where your optical/coax connection is used. To go down this route, you must first have a set of speakers or a decoder that supports Dolby Digital. In your DVD software, select 'SPDIF' as the audio output method and 'SPDIF Pass-through' in your soundcard options. What this does is tells both the software and soundcard to leave the audio from the DVD in compressed form and send it straight through the digital outputs. Your digital speakers/receiver will do all the decoding to give you full surround sound. Please note that this is the only way to get 6 channels through an optical/coax cable.
    2) Decode the AC3/DTS with your Sound Blaster.You should choose this option if you don't have an external decoder. In the DVD software, select 'SPDIF' as the audio output method and make sure that 'SPDIF Pass-through' in the souncard options is off. The DVD software will now pass the compressed audio to your soundcard, which will then decode the data. The soundcard will output the 6 channels using the analogue connections (or digital DIN, more on this later). If you try to use a digital optical/coax connection to your speakers, you will only hear faint sounds from the front left/right speakers.
    3) Decode the AC3/DTS with software.If you have a soundcard that doesn't support Dolby Digital (like the SB Li've! 24-bit) and you don't have digital speakers, the only way for you to get surround sound in movies is to use software to decode the AC3/DTS. The free versions of DVD software you get with hardware often don't support this feature, you will most likely need a full version. First select 'Dolby Digital' or 'DTS' decoding in the DVD software audio options (you must select the right sound format for the movie you are watching). Then make sure that 'SPDIF Pass-through' in the soundcard options is off. As with method (2) you must connect your speakers with the 3 analogue cables, not optical/coax.
    PC GamesPC games usually use technologies like as EAX to create surround sound, not Dolby Digital. So even if your speaker system has a Dolby Digital decoder, it will be of no use when playing games. The EAX processing is done on the soundcard, and the 6-channel sound is output via the analogue (or digital DIN if available). So you still need analogue connections to your digital speakers for games, if you just use an optical/coax cable you will only get the front left/right sound.(N.B. X-Box games do support Dolby Digital, so if you connect your X-Box to your Dolby Digital receiver/speakers with the optical cable, you can get full surround sound.)
    Creative's 4-pole mini-jack & Digital DINYou can only get the full use out of this connection when used between Creative Sound Blasters and compatible Creative speaker systems. It is the digital equivalent of the analogue connections, but instead of using 3 stereo sockets, you use just one digital socket. There are 4 conducting connections in the socket (unlike coax which has two) so there are enough connections to carry 3 different digital stereo signals (front R/L, rear R/L and Sub/Centre). You will probably require a 4-pole mini-jack > DIN converter to connect your Creative speakers to this socket. Using this connection will allow you to get surround from games (unlike SPDIF). However the digital DIN input on some Creative speakers can't receive AC3/DTS data, so you may still require an optical/coax connection.
    N.B. This digital socket on the Sound Blaster cards doubles as the digital coax output. If you don't have digital DIN, you can use a mono or stereo mini-jack > RCA converter to connect to the coax input on your speakers, as the front R/L or AC3/DTS signals are sent through the tip of the plug.
    More InfoCreative's Speaker Conectivity Guide: http://support.creative.com/kb/ShowA....aspx?sid=5035
    Dolby Surround info: http://www.dolby.com
    I hope that clarifies the issue .
    Message Edited by KokChoy-CL on 07-04-2008 :0 AM

    Digital Connections, SPDIF and Dolby Digital (german revision)
    Options
    03-08-2007 01:52 AM
    Digital Connections, SPDIF and Dolby Digital Info
    Übersetzung + Erweiterungen + Revision 03-08-07
    Der Digitale Anschluß
    Ich habe beobachtet, daß viele Leute Fragen zu den Sound-Anschlüssen haben, daher trage ich hier einige Infos zusammen und erkläre die Unterschiede in der Verwendung der digitalen und analogen Anschlüsse.
    Digitale Anschlüsse – S-PDIF & Toslink
    Am PC gibt es zwei häufig verwendete digitale Anschlußformate optisch (Toslink) und koaxial (S-PDIF).
    Im Prinzip erzielen beide Anschlüsse genau das gleiche Audio-Ergebnis.
    Der primäre Unterschied ist das Medium ( das Material ) durch das das Signal übertragen wird. ( Glasfaser oder Kupfer )
    !! Update !!
    Ein wichtiger Aspekt in der Auswahl von digital-optischen Anschlüssen erklärt sich durch das Vermeiden einer sogenannten „Brummschleife“, d.h. eine elektrisch leitende Verbindung zweier Geräte muß vermieden werden.
    ( mit Lichtwellenleiter - LWL- z.B. mit dem Anschluß-System Toslink )
    In der Elektrotechnik ( Niedervolttechnik ) wird oft der „Negative“ Pol der Spannungsversorgung über das elektrisch leitende Gehäuse ( die sogenannte Masse )geführt. Das spart einerseits einen weiteren Kabelweg ( also Kupfer ) ein und ergibt eine mehr oder weniger wirksame (Ab-) Schirmung. Diese Schirmung soll die elektronische Schaltung vor elektromagnetischen, hochfrequenten und niederfrequenten Störeinflüssen je nach Ausführung der Schirmung schützen.
    Üblicherweise besitzt jedes elektronische Gerät eine eigene Spannungsversorgung. Netzteile in elektronischen Geräten unterscheiden sich in der Art der Spannungsumformung, in der Höhe der Spannung, in der zur Verfügung gestellten Leistung, durch verschiedene Bauarten und unterschiedliche Bauteil-Tolleranzen entstehen somit verschiedenste Masse-Potentiale.
    Werden solche Geräte durch elektrisch leitende Kabel verbunden, kommt es zu einem Ausgleich der verschiedenen Masse-Potentiale. Ein negatives Ergebnis der Verbindung von TV-Geräten oder PC-Komponenten mit Audio-Komponenten ist oft eine hörbare Beeinträchtigung von Audio-Signalen - ein tieffrequentes Brummen.( auch Brummschleife oder Masseschleife genannt )
    Hierfür verantwortlich zu machen ist eine elektrisch leitende Verbindung. In der HiFi-Technik ist das in der Regel ein Koaxialkabel und dessen Schirmung.
    Vermeidung u. Reduzierung dieser Störgeräusche Ansätze
    !! Der einfache Weg !!
    Einsatz einer optischen Signal- / Datenübertragung mit Lichtwellenleiter
    - Glasfaser als Trägermaterial
    ( Einsatz einer Datenübertragung ohne elektrisch leitende Verbindungen )
    aufwendige Wege
    Einsatz einer Galvanischen Trennung - mit einem Ground-Isolator
    (Massetrennung )
    + die elektrische Verbindung der Schirmung wird umgangen
    - aber Leistungs- & und Klangverlust(geringere Dynamik)
    - Verwendung von ( hochwertigen ) symmetrischen Verbindungen
    ( „PLUS“ „MINUS“ „Masse“)
    + Trennung der Schirmung an einer „Seite“ des Kabels möglich
    [bei Koaxialkabel unsinnig weil eine Ader zerstört wird und
    anschließend dieses Kabel wertlos ist ]
    - sehr große Anschlüsse
    - Profibereich
    - Einsatz einer zentralen Spannungsversorgung für alle miteinander
    verbundenen Geräte
    Nachtrag
    Bitte nicht verwechseln mit Netzbrummen - die Einstreuung der Netzfrequenz 50 Hz ( EU ) oder 60 Hz ( US ) in den Audio-Signalweg das ist üblicherweise auf eine nicht ausreichende Entstörung oder(Ab-)Schirmung zurückzuführen ist.
    - End - !! Update !!
    Einige Vorbetrachtungen
    Die traditionelle Ton-Übertragung ist ein unkomprimiertes Signal, es wird in Stereo übertragen.
    Wenn du CMSS ( Creative Multi Speaker Surround simulierten Surround Sound ) aus deiner Stereo-Musik erzeugen willst oder der Sprach-Test abgerufen wird ( nur über den Center ) ist der digitale Anschluß ( optisch & koaxial ) unbrauchbar, denn es würden nur die Lautsprecher Front-Rechts und Front-Links angesprochen !! Es wird ein anderer Anschluß benötigt, der die Kanäle einzeln ansteuert.
    Für das Format 5.1 ist das die Verbindung über die drei 3,5 mm Klinken-Stecker ( 3 mal 2 Kanäle ) mit der folgenden
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Mehrkanalton in Filmen - DolbyDigital (AC3 / DD) oder DTS
    Filme auf DVD verwenden häufig ein kodiertes Mehrkanal-Audiosignal, in der Form DolbyDigital ( AC3 / DD ) oder DTS. Bei dem gebräuchlichsten Format 5.1 werden 6 Signale ( 3 mal 2 Kanäle ) in einem digitalen Datenstrom zusammengefaßt und komprimiert = das Kodieren.
    Nach der Übertragung des Signals muß aus diesem Datenstrom ein Decoder die entsprechenden Töne trennen und jedem Kanal zuordnen = das Dekodieren.
    Drei Varianten der Decodierung sind möglich.
    (1) - AC3 / DTS Signal wird zu einem externen Decoder geführt
    Genau hier wird der optische / koaxiale Anschluß genutzt. Um diese Variante nutzen zu können, mußt du ein digitales Lautsprecher-Set oder einen Digital-Decoder ( z.B: Digital-Receiver ) besitzen, der die Dekodierung des gewünschten Formats ( DD, AC3, DTS) übernimmt. Für jedes Digital-Format benötigt man einen entsprechenden Decoder – das Handbuch weiß hier oft mehr – welches Format von welchem Gerät dekodiert werden kann !!
    Wähle in deiner DVD-Software den zur digitalen Datenübertragung gewünschten Anschluß "S-PDIF"( Koaxial ) oder "Optisch" als Audio-Ausgang.
    In den Soundkarten-Einstellungen muß die Option "S-PDIF-Durchschleifen" ( "SPDIF Pass-through" ) eingestellt werden.
    Dadurch wird das Audio-Signal von der DVD in digitaler ( komprimierter ) Form direkt an die Digital-Ausgänge der Soundkarte weitergeleitet. Anschließend kann ein angeschlossener externer Decoder z.B. im digitalen Lautsprecher-System oder im Digital-Receiver die Decodierung übernehmen und es entsteht ein „Räumliches Klangbild“.
    Bitte merken:
    Daß ist der einzige Weg 5.1 Signale ( digital ) über ein koaxiales bzw. optisches Kabel zu übertragen.
    (2) - AC3 / DTS mit der Soundkarte decodieren
    Diese Variante ist zu verwenden, wenn du keinen externen Decoder / Receiver verwenden willst.
    In der DVD-Software wird "S-PDIF" als Audio-Ausgang gewählt und es muß zwingend in den Optionen der Soundkarte "S-PDIF-Durchschleifen" ( "SPDIF Pass-through" ) deaktiviert werden.
    Die DVD-Software wird jetzt das ( digitale ) komprimierte Audio-Signal an deine Soundkarte senden und dann werden dort die digitalen Daten decodiert. Die Soundkarte gibt dann die 6 Audio-Kanäle ( bei 5.1 ) über ihre drei analogen Anschlüsse aus ( 3 mal 3,5 mm Klinke ) mit folgender
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Es wird in diesem Beispiel also ein 5.1-Lautsprecher-System benötigt, mit der analogen Anschluß-Option von drei Klinken-Steckern.
    ( also 3 x 2 Kanäle = 3 mal 3,5 mm Klinke )
    - die Einspeisung eines digitalen Signals über DigitalDIN, ist mit dem optionalen digitalen E/A-Modulbei möglich ***
    - wird hier ein optisches / koaxiales Kabel verwendest, hörst du nur schwache Töne der Front-Lautsprecher R + L
    *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls )
    [ mehr unten ]
    (3) - AC3 / DTS mit einer Software decodieren
    Wenn deine Soundkarte kein DolbyDigital unterstützt
    ( wie die SB Live! 24-bit ) und auch kein digitales Lautsprecher-System vorhanden ist, kannst du Raumklang
    (Surrsound-Sound ) aus DV-Filmen auch über eine AC3 / DTS fähige Software erzeugen.
    Gratis-DVD-Software-Versionen unterstützen diese Funktion häufig nicht, du benötigst dann eine Software-Voll-Version.
    Wähle die gewünschte digitale Audio-Tonspur „DolbyDigital“ oder „DTS“, im Audio-Menü einer DVD.
    Dann stelle sicher, das in den Soundkarten-Optionen "S-PDIF-Durchschleifen"
    ( "SPDIF Pass-through" ) ausgeschaltet ist.
    Wie unter (2) mußt du deine Lautsprecher mit den drei analogen Kabeln anschließen und nicht optisch oder koaxial !! ( 3 mal 3,5 Klinke )
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Generell sind bei zuvor genannten Varianten (1) – (3) auch andere mehrkanalige
    Wiedergabeformate möglich.
    In Abhängigkeit von der Ausstattung der Quelle also von der DVD. der CD. der TV-Karte, dem Game usw. sind andere Formate z.B. 2.0 / 2.1 / 4.0 / 4.1 / 5.1 / 7.1-Kanal Wiedergabe möglich.
    PC Spiele
    PC Spiele nutzen normalerweise Technologien wie EAX, die ihren eigenen Surround-Sound, ohne Verwendung von DolbyDigital erzeugen. Selbst wenn dein Lautsprecher-System einen DolbyDigital-Decoder besitzt, ist dieser für Games unbrauchbar. Denn die EAX Verarbeitung findet direkt auf der Soundkarte statt und die Ausgabe der 6 Kanäle ( 5.1 ) erfolgt über die analogen Ausgänge
    ( 3 mal 3,5 mm Klinke ) ( oder über DigitalDIN, wenn vorhanden *** ).
    *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls ) [ mehr unten ]
    Kanalzuweisung 5.1
    Front R / Front L + Rear R + Rear L + Subwoofer / Center
    Für Mehrkanalwiedergabe in Spielen benötigst du also Lautsprecher-Systeme mit analogen Anschlüssen oder einen Digital-Receiver mit analogem ( 5.1 ) Eingang.
    Wenn du ein optisches / koaxiales Kabel verwendest, dann kannst du nur die vorderen Kanäle ( links / rechts ) hören.
    !!! Notiz !!!
    X-Box Spiele unterstützen DolbyDigital, wenn du deine X-Box mit einem DolbyDigital-Receiver oder einem digitalen Lautsprecher-System über optische Kabel verbindest, kannst du den vollen Surround Sound nutzen.
    Die Sound Blaster Karten der SB073X-Serie bieten neben dem digitalen ( koaxial / extern ) Anschluß über den Anschluss Flexi-Jack auch noch einen weiteren Anschluß, direkt auf der Karte ( koaxial / intern )
    Flexi-Jack - DigitalDIN
    Wenn du kein digitales E/A-Modul ( Digital I/O-Modul ) benutzen kannst, ist es möglich mit einem Klinke-Chinch Adapter ( RCA-Adapter ), ein digitales Lautsprecher-System oder einen Digital-Receiver digital ( koaxial ) über den Flexi-Jack-Ausgang der Soundkarte zu verbinden. Alle MiniDin bzw. 3,5 mm Klinken-Stecker können in der Mono- oder auch in der Stereo-Ausführung verwendet werden, denn der mittlere / vordere Pin des 3,5 mm Klinken-Steckers überträgt das AC3 / DTS Signal. Dazu benötigt man eine der folgenden Verbindungen
    3,5 mm Klinke ( Mini DIN ) auf Chinch - Adapter ( RCA-Adapter )
    für den S-PDIF-Anschluß( koaxial ) an Lautsprecher-Systeme mit digitalem Eingang bzw. Digital-Receiver kann man folgende Varianten verwenden
    - Klinke-Mono - Chinch-Stecker ( Stecker –Stecker ) ( Favorit !! )
    - Klinke-Mono auf Chinch-Mono ( Stecker - Kupplung ) + Chinch-Verbindungkabel
    ( Stecker - Stecker )
    - Klinke-Stereo auf Chinch-Mono ( Stecker - Kupplung ) + Chinch-Verbindungkabel
    ( Stecker - Stecker )
    Das digitale E/A-Modul ( Digital I/O – Modul )
    Die Verwendung von optionalem Zubehör Digitales E/A-Modul ( Digital I/O-Modul ) bietet die Möglichkeit der direkten Verwendung eines S-PDIF Verbindungskabels und stellt zusätzlich zum koaxialen Anschluß einen optischen Anschluß ( Toslink ) bereit. Die optische Verbindung kann wie oben beschrieben zur Vermeidung einer Brummschleife hilfreich sein.
    Des weiteren wird ( abhängig von der Ausstattung der Soundkarte *** ) ein digitaler Eingang über das E/A-Modul bereitgestellt, der Eingang ist ebenso wie der Ausgang in optischer ( Toslink ) und koaxialer ( S-PDIF ) Bauform ausgeführt.
    Achtung !!
    ( *** Bei Karten der SB073X-Serie verfügt diese Buchse nicht über die Digital-In-Funktion !! zur Unterstützung des digitalen E/A-Moduls )
    interner S-PDIF E/A-Anschluss ( für Geräte der SB073X-Serie )
    zum Anschluß einer Decoderkarte oder externer Decoder bzw. Lautsprechersysteme mit digitalem Eingang ist ein entsprechender Adapter erforderlich
    Bei einigen Modellen ist eine Dekoderkarte im Lieferumfang enthalten bzw. in einigen Regionen als Zubehör erhältlich
    Front Panel-Sockel (für Geräte der SB073X-Serie)
    2 x 5-poliger Front Panel-Sockel nur für Verbindungen mit einem Intel HD Front Panel Audio-Standardsockel (nur Geräte der SB073X-Serie) Intel Front Panel Audio-Kabels (separat erhältlich)
    Anschlusskompatibilität
    Ausschließlich Intel HD Front Panel Audio-Standard
    Nicht kompatibel mit AC97 oder Intel-kompatiblem HD Front Panel Audio
    Einschränkungen
    Wenn neben den hinteren Mikrofonen auch Frontmikrofone angeschlossen sind, werden die hinteren Mikrofone automatisch deaktiviert.
    Sound Blaster X-Fi E/A-Konsole
    Auf der Rückseite Ihrer X-Fi-E/A-Konsole* befindet sich eine sogenannte DIN-Buchse. Um die Funktionen für eine integrierte Lautsprechersteuerung zu nutzen, können Sie an diese Buchse ausgewählte analoge Creative-Lautsprechersysteme anschließen, die über eine Kabelfernbedienung oder eine Audiokonsole verfügen.
    So können Sie beispielsweise über den Master-Lautstärkeregler Ihrer X-Fi-E/A-Konsole die Lautstärke der Lautsprecher regeln oder die Lautsprecher stummschalten.
    -eof-

  • SQL0904N and SQL30081N while using DB2-Connect driver

    Scenario:
    Application program : Java on Unix
    Database : DB2 on Mainframe
    Database driver : IBM's DB2 connect
    Usage : A number of connections are taken by the program and are used as long as the program is alive
    (Life time of the program is variable. It can be as long as many days -- in a sense the program acts like a daemon process that runs as long it is not stopped).
    Scenario:
    -To one of the table using a load utility, such as BMC, data is loaded
    -Database goes to copy-pending status
    -Database is started by using the following command : "START DATABASE(database name) SPACENAM(table space name) ACCESS(FORCE)"
    Doubts:
    1. What happens to the connections that the program has opened to the database?
    2. Does the database relinquish all the resources (like the sockets it would have opened for the communication with the driver) held by it during restarting?
    (at least before restarting, it is evident that no query on the table in question is possible. A typical SQL0904N, which is non-availability of resources, is thrown)
    3. Can the above scenario cause a SQL30081N, which is resetting of connection by peer i.e. database in this case?

    Yes, there is a high probability for such things, you may want to consider using a connection pool instead of opening 2 connections once at the start of the program and using them all for days.
    Have a look at the following link to get an idea on how to implement a simple connection pool.
    http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html

  • Need to find out a way to figure out how DB2 connect to Oracle and data mirroring etc.

    Hi, Gurus,
    I just take over a project which source is ICOMS as400 db2 database. Seems data mirro CDC is used to replicate from DB2 to oracle.
    I am very new to this datamirror CDC , plus I am new to figure out how db2 connect to oracle, is that through db link or what? or is there tnsnames entry?
    I would like anybody in this forum can point me to the right direction.
    Thanks in advance.

    user9233598, if mirroring/replication from DB2 to Oracle already exists then question is what product is being used?  If the product has already been purchased then I do not think it is very likely that management is going to want to purchase another product so I do not see how extra-cost Golden Gate or other Oracle Gateway features apply if those are not currently in use.  If Golden Gate or the Oracle Transparent Gateway are in use then you already have your answer
    Oracle supports ODBC/JODBC and the replication application on the AS400 likely uses these features or a thick Oracle client as the interface to Oracle.
    HTH -- Mark D Powell --

  • How to connect Weblogic 6.1 and DB2 under OS/390

    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan Stössel

    In order to use IBM's JDBC driver to connect to DB/2 on the mainframe, you will need to
    use DB2Connect. You can also get third-party drivers from companies such as Neon
    Systems that support this without DB2Connect...
    Joseph Weinstein wrote:
    Stefan Stoessel wrote:
    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan StösselHi. As far as I know, IBM is the only source of JDBC drivers for DB2, so you should
    get the appropriate driver from them, for the platform on which you want to run
    WebLogic. Once you have this driver, and can connect to your DBMS using the driver's
    own simple example programs, show me the few lines of code that make the connection,
    and I'll show you how to define a pool so WebLogic can do the same.
    Joe

  • Crystal Reports 2008 - connection info in code not recognized

    Application is vb.net using dynamic cascading parms and has been runnning fine in Crystal XI using VS2005.  We upgraded to VS2008 and CR 2008 for compatibility with Windows 7.  Now all reports do not recognize the data connection assignment that takes place in the code (they revert to the connection used at design time). 
    We set the connection (ci) which is later referenced as myConnectionInfo
              With ci
                    .ServerName =
                    .UserID =
                    .Password =
                    .DatabaseName =
                    .IntegratedSecurity = False
                End With
    And loop thru the tables.
                For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables     
                    Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                    myTableLogonInfo.ConnectionInfo = myConnectionInfo
                    myTable.ApplyLogOnInfo(myTableLogonInfo)               
                Next
    The connection passes a TestConnectivity test.  But rather than see the parameter form, a generic form displays with the ServerName filled and requests login info.  If you do enter that manually(not normal),  the CR parm form displays but dynamic parms do not have their combo box. 
    The report will run fine against the default data connection.  The problem is the report no longer recognizes the coded connection change which is critical to reporting the proper information.

    Hi Ludek,
    I too am facing the same problem. My environment detail is CR2008/VS2008 (Note I have no service pack installed yet). If I have a report with no dynamic parameter the report works fine with connection information provided in code but with dynamic parameter its not working even after the workaround you specified. I am getting the error
    CrystalDecisions.CrystalReports.Engine.InternalException - Failed to retrieve data from the database
    Here is my code:
    protected void logonReport(string dbServerName, string dbName,
                string dbUserId, string dbPwd)
                ConnectionInfo connInfo = null;
                TableLogOnInfo tblLogonInfo = null;
                Tables tbls = null;
                try
                    connInfo = new ConnectionInfo();
                    connInfo.ServerName = dbServerName;
                    connInfo.DatabaseName = dbName;          //not used for Oracle
                    connInfo.UserID = dbUserId;
                    connInfo.Password = dbPwd;
                    tbls = this._crReport.Database.Tables;
                    foreach (Table tbl in tbls)
                        tblLogonInfo = tbl.LogOnInfo;
                        tblLogonInfo.ConnectionInfo = connInfo;
                        tbl.ApplyLogOnInfo(tblLogonInfo);
                    this._crReport.DataSourceConnections[0].SetConnection(dbServerName, dbName, dbUserId, dbPwd);
                catch (Exception ex)
                    throw ex;
                finally
                    if (connInfo != null) connInfo = null;
    Thanks
    Kajal

  • Error: The AcquireConnection method call to the connection manager failed with error code 0xC0202009 using DB2 connection

    I have a SSIS project that I am newly running on the SQL server (2005) .  It was previously run on my PC.  I am importing data from a DB2 server to the SQL server.
    I am in the SA group on the server
    My connection to DB2 works
    When open the package and run it in preview mode, I can retrieve the data.
    When I execute the package I get the below errors:
    [MIDAS OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "NGMDSPA.alharris" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "MIDAS OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    What I have already done that has not worked:
    The original Protection level was set to EncryptSensitiveWithPassword. 
    I have reset the Package Password.
    I have set the protection level to DontSaveSensitive
    I saved the package on the server and set a Package Password.
    I created a new package, set the Protection level to DontSaveSensitive, set a package password in a configuration file using the Package Configuration Wizard.
    Error continues

    Yes.  The Drivers are installed and I have a successfull connection.  I am trouble shooting the issue on the server in BIDS.  I can connect to the DB2 server via the Connectionmanager.  I can also preview the data in the OLE
    DB source connection.  Therefore I know that I have a proper connection
    If you're setting option as DontSaveSensitive then you need to pass the connection information from configuration file/ config table. Otherwise it wont be able to use it for connecting to your source/destination servers. This is the recommended way as it
    will enable you to change connection info at runtime.
    If you want connection info to persist you need to use protection level as EncryptSensitiveUsingUserKey or EncryptSensitiveUsingPassword and set a password.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for