TCP active open: Failed connect()

hi all,
i receive error from my email like
"TCP active open: Failed connect()x.x.x.x :25(No formatted text for errno = 111)"

Hi Mustapah,
if the error is in the email, then the hostname and/or IP address of the reporting server/appliance  should be in there.
I suggest you try to look up the message in message tracking of your IronPort's GUI, this will tell you if the message was received by your appliance(s), and also if it was bounced on the appliance or on a different server.
Hope that helps,
Andreas

Similar Messages

  • TCP active open: Failed connect()    Error: Connection timed out SMTP

    Hi,
    Messaging server version is,
    ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
    libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
    SunOS bglbbmr1-a-fixed 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
    17-Dec-2008 10:47:40.08 1730.8e.741
    tcp_local Q 4 [email protected] rfc822;[email protected] [email protected] /mta/queue/queue/tcp_local/013/ZUg0i1t9I0ZG~.00 <[email protected]>; TCP active open: Failed connect() Error: Connection timed out SMTP/xyz.my-domain.in
    I have been getting this above error on my mail server from last
    4-5 days. I am getting complaints from end users that the users can't
    send any mails using Outlook but I did check with my test user I can
    send mail by using webmail.
    The Failed MX lookup Errors also getting in my logs the error detail given bellow.
    17-Dec-2008 10:47:39.65 1730.91.737
    tcp_local - Y TCP|0.0.0.0||209.85.143.114|25 SMTP/airtelmail.in/aspmx.l.google.com
    17-Dec-2008 10:47:39.92 1754.41.255
    tcp_notify - Y SMTP/infomedia18.in/infomedia18.in
    17-Dec-2008 10:47:39.92 1754.41.256
    tcp_notify Q 7 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/017/ZXg0i1t3U_ZoD.00 <[email protected]>; Failed MX lookup; try again later
    17-Dec-2008 10:47:39.94 1754.41.257
    tcp_notify Q 6 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/010/ZXg0i1t3U_ZoF.00 <0KBZ003MRGU7MQ30@my-domain> Failed MX lookup; try again later
    I tried stopping and starting msg service using stop-msg and start-msg to sort out this above problem but no result. :(
    When I do check the tcp_local queue it has been growing every day as well the tcp_notification queue also.
    /opt/SUNWmsgsr/sbin/imsimta qm su
    Messages
    Channel Queued Size (Kb) Oldest
    tcp_notify 10741 1080610.61 16 Dec, 00:59:24
    tcp_local 8334 733849.31 15 Dec, 00:19:00
    tcp_lmtpcn 0 0.00
    tcp_be 0 0.00
    reprocess 0 0.00
    process 0 0.00
    conversion 0 0.00
    Totals 19075 1814459.92
    This queues are increasing day by day.
    One more thing is that I cant see a service/channel called CONVERSION running on my server when i do use this command.
    ps -aef | grep conversion
    root 6144 6000 0 11:14:28 pts/1 0:00 grep conversion
    When i try to start it using imsimta qm utility, output shows as
    qm.maint>; start conversion
    QM-I-STARTED, channel was not stopped
    qm.maint>;
    Later I stopped and started conversion channel
    qm.maint>; stop conversion
    QM-I-STOPPED, channel stopped
    qm.maint>; start conversion
    QM-I-STARTED, channel started
    qm.maint>;
    I can see that on other servers the conversion channel is running and few msges are in queue. I do have other servers which running the same messaging server. But I am not getting why don't on this server. Where both servers having the same configuration.
    Please, help me to sort out this issue.
    Thanks in advance....
    BSK

    Thanks Mr. Shane,
    The server which is running conversion channel.
    ps -eaf|grep conversion
    mailserv 16824 8472 3 17:08:11 ? 0:48 /opt/SUNWmsgsr/lib/conversion
    mailserv 28728 8472 0 17:17:30 ? 0:00 /opt/SUNWmsgsr/lib/conversion
    root 1057 26387 0 17:18:12 pts/1 0:00 grep conversion
    more /opt/SUNWmsgsr/config/conversions
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    The server which doesnt show running conversion channel
    #more /opt/SUNWmsgsr/config/conversions
    !in-channel=*; in-type=*; in-subtype=*; in-disposition=*;
    ! parameter-symbol-0=NAME; parameter-copy-0=*;
    ! dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    ! message-header-file=2; original-header-file=1;
    ! override-header-file=1; override-option-file=1;
    ! command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    Is this above information u r asking?
    As u wrote erlier, the conversion channel works some times and some times doesn't work.
    Thanks lot...
    BSKADAM

  • SpamAssassin / Amavisd tuning - TCP active open: Failed connect() errors

    I started this post as we were experiencing a problem with occassional delayed mail delivery to our mail store. As I continued writing it, I think that I've resolved it. But I wanted to post this anyway so if I'm doing things right it might help someone else; or, if I'm doing something wrong someone can correct me. :) For reference, we have a quad Sun v440, and process about 500,000 messages a day.
    We were seeing messages like this in our log files:
    09-Nov-2006 08:28:09.37 tcp_scan Q 1 [email protected] rfc822;[email protected] @tcp_scan-daemon:[email protected] TCP active open: Failed connect() Error: Connection timed out
    example.com represents our local domain. The errors seemed to occur proportionally to the amount of incoming mail we received. That is, we saw more of them under load.
    We are running SpamAssassin, Amavisd/clamav, and:
    Sun Java(tm) System Messaging Server 6.2-5.01 (built Nov 22 2005)
    libimta.so 6.2-5.01 (built 11:57:57, Nov 22 2005)
    SunOS hostname 5.9 Generic_118558-11 sun4u sparc SUNW,Sun-Fire-V440
    This line seems to say that the message is in the tcp_scan channel, and cannot send to 127.0.0.1:10024 (amavisd) because that port isn't listening.
    My amavisd max_servers was set at 15. After reading http://www.ijs.si/software/amavisd/amavisd-new-magdeburg-20050519.pdf and making a wild guess, I increased it to 30. The errors were less frequent, but still occurred.
    The output of 'sar -d' showed that my local disk was experiencing upwards of 80% utilization. I moved the amavisd temp directory and the spamassassin bayes db to a san volume, and that sped everything up dramatically. The connect errors went away, clamav avg time per message is at 4 seconds down from 10. I am now receiving errors from spamassassin that say:
    Nov 9 10:27:27 hostname.example.com spamd[21601]: prefork: server reached --max-children setting, consider raising it
    My --max-children is set to 25 right now, and the server is cpu bound under heavy load, so I see no reason to raise it.
    So this is my setup. I am no longer having an immediate problem, but comments/questions are welcome.
    Config files related to my setup are below.
    Excerpts of imta.cnf:
    ! tcp_scan
    [] $E$R${tcp_scan,$L}$U%[$L]@tcp_scan-daemon
    ! ims-ms
    ims-ms defragment subdirs 20 notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL destinat
    ionspamfilter1 fileinto $U+$S@$D
    ims-ms-daemon
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL saslswitchchannel tcp
    auth maytlsserver maysaslserver missingrecipientpolicy 0 aliasdetourhost tcpscan-daemon
    tcp-daemon
    ! tcp_intranet
    tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL allowswitchchannel saslswitchchannel tcp_auth
    maytlsserver maysaslserver missingrecipientpolicy 4 aliasdetourhost tcp_scan-daemon
    tcp_intranet-daemon
    ! tcp_scan
    tcp_scan smtp single_sys subdirs 5 notices 1 backoff "pt10m" "pt30m" "pt2h" "pt4h" dequeue_removeroute maxjobs 7 pool SMTP_POOL daemon
    [127.0.0.1] port 10024
    tcp_scan-daemon
    option.dat:
    SPAMFILTER1_LIBRARY=/opt/sunjes/SUNWmsgsr/lib/libspamass.so
    SPAMFILTER1_CONFIG_FILE=/opt/sunjes/SUNWmsgsr/config/SpamAssassin
    SPAMFILTER1_STRING_ACTION=data:,require ["addheader"]; addheader "Spam-test: $U"; require "fileinto"; fileinto "Junk";
    SPAMFILTER1_OPTIONAL=1
    dispatcher.cnf:
    [SERVICE=SMTP-SCAN]
    DEBUG=-1
    PARAMETER=CHANNEL=tcp_scan
    PORT=10025
    IMAGE=IMTA_BIN:tcp_smtp_server
    LOGFILE=IMTA_LOG:tcp_scan-server.log
    STACKSIZE=2048000
    INTERFACE_ADDRESS=127.0.0.1
    SpamAssassin:
    host=127.0.0.1
    port=783
    debug=0
    mode=1
    field=
    verdict=Junk
    USE_CHECK=0

    Suggest dropping Amavis in preference to the built-in
    integration, per our documentation. Simpler, more
    performant.Sorry, my title wasn't very accurate. We are running SpamAssassin through the built in integration, and clamav through amavisd. There isn't any built in integration to clamav, is there?

  • TCP active open: Failed connect()    Error: Connection timed out

    Hi,
    There is one message which can't be delieved to the recepient with error " TCP active open: Failed connect() Error: Connection timed out" This is the error that we found in the mail.log_current file.
    I have no problem sending email to the same address from my hotmail account.
    any suggestion ?
    Thanks,
    Joe

    The message can only mean one thing. Your server cannot connect to that host.
    It's possible that the remote system is lying to your Messaging Server, and that's gotten it confused. Some firewalls do this by repeating the entire capability string from the server behind them, but can't actually handle all the capabilities.
    PIX firewalls do this.
    When you connect, they pretend to be able to "startls", but if you try, they hang up. They appear to handle "EHLO", but when you try, they hang up.
    You can put debugging on the tcp_local channel, and see the actual conversation, if you like.
    master_debug and slave_debug go into the imta.cnf definition line. MM_DEBUG=5 goes at the end of your option.dat file.
    then
    imsimta cnbuild
    imsimta restart
    will attempt to send the message. You will want to back the changes out, as you'll get lots of extra log files you really don't need.
    Post the log file, and we can see what's happening.

  • TCP active open: Failed gethostbyname()    ?

    Cannot send mail to outside,but my dns is ok.
    18-Jun-2005 08:43:56.87 tcp_local Q 1 [email protected] rfc822;[email protected] [email protected] TCP active open: Failed gethostbyname() on mta.21cn.com, resolver errno = 2
    # nslookup -type=mx 21cn.com
    Server: ns2.lanps.com.cn
    Address: 10.200.15.7
    Non-authoritative answer:
    21cn.com preference = 10, mail exchanger = mta2.21cn.com
    21cn.com preference = 20, mail exchanger = mta.21cn.com
    Authoritative answers can be found from:
    21cn.com nameserver = dns.21cn.com
    21cn.com nameserver = dns.21cn.net
    mta2.21cn.com internet address = 61.140.60.70
    mta.21cn.com internet address = 61.140.60.20
    dns.21cn.com internet address = 202.104.32.253
    dns.21cn.net internet address = 202.104.32.251

    Please check your other network resolution configurations. resolv.conf, etc.
    nslookup forces a DNS lookup. It's not exactly what the server does, the server issues an OS, "gethostbyname()" call, which looks at many of your configuration files. . .
    What it's trying to tell you, is, "I can't find that host's ip address, when I ask the OS for it"

  • TAC+: TCP/IP open to 10.20.17.2/49 failed -- Connection timed out; remote host not responding

     TACACS+ configured on router and router is in ACS.  I can ping the ACS but the router cannot establish a connection to authenticate users.
    aaa group server tacacs+ hq_acs-1
    server 10.20.17.2
    ip tacacs source-interface GigabitEthernet0/0
    aaa authentication login default group tacacs+ local
    aaa authorization config-commands
    aaa authorization exec default group tacacs+ local
    aaa authorization commands 10 default group tacacs+ local
    aaa authorization commands 15 default group tacacs+ local
    aaa accounting nested
    aaa accounting update newinfo periodic 60
    aaa accounting auth-proxy default start-stop group tacacs+
    aaa accounting exec default start-stop group tacacs+
    aaa accounting commands 15 default start-stop group tacacs+
    aaa accounting network default start-stop group tacacs+
    aaa accounting connection default start-stop group tacacs+
    aaa accounting system default start-stop group tacacs+
    aaa accounting resource default start-stop group tacacs+
    BigTree_3945#sh ip int br
    Interface                  IP-Address      OK? Method Status                Protocol
    GigabitEthernet0/0         10.4.3.1        YES NVRAM  down                  down
    GigabitEthernet0/1         10.12.10.26     YES NVRAM  up                    up 
    Serial0/2/0                unassigned      YES NVRAM  down                  down
    Serial0/2/0.602            10.12.15.10     YES NVRAM  down                  down
    Apr 13 11:08:13.673: TPLUS: Queuing AAA Authentication request 79 for processing
    Apr 13 11:08:13.673: TPLUS: processing authentication start request id 79
    Apr 13 11:08:13.675: TPLUS: Authentication start packet created for 79(cisscdb)
    Apr 13 11:08:13.675: TPLUS: Using server 10.20.17.2
    Apr 13 11:08:13.675: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
    Apr 13 11:08:18.676: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
    Apr 13 11:08:18.676: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
    Apr 13 11:08:18.676: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
    Apr 13 11:08:25.834: TPLUS: Queuing AAA Authentication request 79 for processing
    Apr 13 11:08:25.834: TPLUS: processing authentication start request id 79
    Apr 13 11:08:25.834: TPLUS: Authentication start packet created for 79(cisscdb)
    Apr 13 11:08:25.834: TPLUS: Using server 10.20.17.2
    Apr 13 11:08:25.834: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
    Apr 13 11:08:30.836: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
    Apr 13 11:08:30.836: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
    Apr 13 11:08:30.836: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
    Apr 13 11:08:43.689: TAC: Using default tacacs server-group "tacacs" list.
    Apr 13 11:08:43.689: TAC+: Opening TCP/IP to 10.20.17.2/49 timeout=5
    Apr 13 11:08:51.057: TPLUS: Queuing AAA Authentication request 79 for processing
    Apr 13 11:08:51.057: TPLUS: processing authentication start request id 79
    Apr 13 11:08:51.057: TPLUS: Authentication start packet created for 79(cisscdb)
    Apr 13 11:08:51.057: TPLUS: Using server 10.20.17.2
    Apr 13 11:08:51.057: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: Started 5 sec timeout
    Apr 13 11:08:54.692: TAC+: TCP/IP open to 10.20.17.2/49 failed -- Connection timed out; remote host not responding
    Apr 13 11:08:54.692: TPLUS: Queuing AAA Accounting request 76 for processing
    Apr 13 11:08:54.692: TPLUS: processing accounting request id 76
    Apr 13 11:08:54.692: TPLUS: Sending AV task_id=332
    Apr 13 11:08:54.692: TPLUS: Sending AV timezone=EDT
    Apr 13 11:08:54.692: TPLUS: Sending AV service=shell
    Apr 13 11:08:54.692: TPLUS: Sending AV start_time=1334329734
    Apr 13 11:08:54.692: TPLUS: Sending AV priv-lvl=15
    Apr 13 11:08:54.692: TPLUS: Sending AV cmd=show logging <cr>
    Apr 13 11:08:54.692: TPLUS: Accounting request created for 76(n20j03t)
    Apr 13 11:08:54.692: TPLUS: Using server 10.20.17.2
    Apr 13 11:08:54.692: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: Started 5 sec timeout
    Apr 13 11:08:56.058: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out
    Apr 13 11:08:56.058: TPLUS(0000004F)/0/NB_WAIT/1BDD9C34: timed out, clean up
    Apr 13 11:08:56.058: TPLUS(0000004F)/0/1BDD9C34: Processing the reply packet
    Apr 13 11:08:59.693: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: timed out
    Apr 13 11:08:59.693: TPLUS(0000004C)/1/NB_WAIT/20FD90EC: timed out, clean up
    Apr 13 11:08:59.693: TPLUS(0000004C)/1/20FD90EC: Processing the reply packet
    BigTree_3945#
    AAA Client IP Address
    10.4.3.* 10.12.15.10
    Key
    Network Device Group
    Test    
    NJT    
    AccessLink    
    (Not Assigned)    
    Authenticate Using
    TACACS+ (Cisco IOS)    
    RADIUS (Cisco Aironet)    
    RADIUS (Cisco BBSM)    
    RADIUS (Cisco IOS/PIX)    
    RADIUS (Cisco VPN 3000)    
    RADIUS (Cisco VPN 5000)    
    RADIUS (IETF)    
    RADIUS (Ascend)    
    RADIUS (Juniper)    
    RADIUS (Nortel)    
    RADIUS (iPass)    
    Single Connect TACACS+ AAA Client (Record stop in accounting on failure).
    The 10.12.10.* range is listed under the HQ site.
    Your help is greatly appreciated.

    You stated that you can ping ACS from the router, did you try sourcing the packets from the GigabitEthernet 0/0 interface (which is the one TACACS+ will try to use, given the configuration that you posted)?
    What does the network path between the router and ACS look like (ie, any firewalls, NAT, etc)?
    Can you connect to port 49 at the ACS IP address from the router sourcing the packets from GigabitEthernet 0/0 ?
    Are you using VRFs?
    What version of IOS?

  • "Failed to open the connection" problem related to multiple tables in the report?

    Post Author: Gadow
    CA Forum: Data Connectivity and SQL
    System specifics:
    Web environment using ASP.Net 2.0 (from Visual Studio 2005 Professional)
    Crystal Reports 2008, v. 12.0.0.549, Full
    We have set up the following method for displaying reports via our website:
    User is sent to a report-specific page. The user is given some filtering options specific to the report that will be viewed. When the user has specified the data filters, the user clicks a button.
    The page wraps up the report parameters -- selection query, formula values, report location, the name to be displayed, etc. -- into a class which gets put into the Session object.
    The page redirects to DisplayReport.aspx. ALL reports redirect to this page.
    DisplayReport.aspx retrieves the report parameters from Session. A ReportDocument object is created and loaded, then set with the data from the parameters class.
    A ConnectionInfo object is created and set with the relevant log on credentials. All of the reports draw from the same database, so the connection information is hard-coded as the same for all reports. The page then iterates through all of the tables in the Database.Tables collection of the ReportDocument and calls ApplyLogOnInfo to each table using the ConnectionInfo object.
    The page is rendered and the user gets the filtered report.
    We currently have seven reports. Five reports work fine and display the correctly filtered data with no error messages. Two reports generate a Failed to open the connection error and do not display. I have verified that the queries being sent to DisplayReport.aspx are valid, and as I said the connection information itself is hard-coded in the one page that displays the reports and this is identical to all reports.
    The five reports that do work all have a single data table, either an actual database table or a single view. The two reports that do not work all have multiple tables. As far as I can tell, this is the only difference between the sets; all seven reports are based on the same DSN and I have verified the database on all of the reports. All of the reports were written using Crystal Reports 8, and all of the reports display fine in a Windows app I wrote some years ago using Crystal Reports 8. Again, the only difference between those reports that do work and those that do not is the number of tables used in the report: one table or view in the reports that display, more than one table (tables only, none use views) in the reports that do not display.
    As for the code I am using, below are the relevant methods. The function MakeConnectionInfo simply parses out the components of a standard SQL connection string into a ConnectionInfo object. DisplayedReport is the ID of the CrystalReportViewer on the page.Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
            Dim o As Object = Session("ReportParams")
            Dim ReportURL As String = ""
            'Verify that there is a ReportParameters object
            If o Is Nothing OrElse o.GetType IsNot GetType(ReportParameters) Then 'Redirect to the error page
                Response.Redirect("/errors/MissingReport.aspx")
            End If
            ReportParams = CType(o, ReportParameters)
            'Verify that the report exists
            ReportURL = "/Reports/ReportFiles/" + ReportParams.ReportName
            ReportPath = Server.MapPath(ReportURL)
            If Not File.Exists(ReportPath) Then
                Response.Redirect("/errors/MissingReport.aspx?Report=" + ReportParams.ReportTitle)
            End If
            InitializeReport()       
        End Sub
        Protected Sub InitializeReport()
            Dim RD As New ReportDocument
            Dim CI As ConnectionInfo = MakeConnectionInfo(DB_Bonus)
            Dim RPF As CrystalDecisions.Shared.ParameterField = Nothing
            RD.Load(ReportPath)
            If ReportParams.SelectString <> "" Then
                Dim Adapt As New SqlDataAdapter(ReportParams.SelectString, DB_Bonus)
                Dim DS As New Data.DataSet
                Adapt.Fill(DS)
                RD.SetDataSource(DS.Tables(0))
            End If
            For Each kvp As KeyValuePair(Of String, String) In ReportParams.Formulas
                Dim FFD As FormulaFieldDefinition = Nothing
                Try
                    FFD = RD.DataDefinition.FormulaFields(kvp.Key)
                Catch ex As Exception
                    'Do nothing
                End Try
                If FFD IsNot Nothing Then
                    Select Case FFD.ValueType
                        Case FieldValueType.DateField, FieldValueType.DateTimeField
                            If IsDate(kvp.Value) Then
                                FFD.Text = String.Format("Date()", Convert.ToDateTime(kvp.Value).ToString("yyyy, MM, dd"))
                            Else
                                FFD.Text = "Date(1960, 01, 01)"
                            End If
                        Case FieldValueType.StringField
                            FFD.Text = String.Format("""""", kvp.Value)
                        Case Else
                            'For now, treat these as if they were strings. If things blow up here,
                            'we will need to add the appropriate formatting for the field type.
                            FFD.Text = String.Format("""""", kvp.Value)
                    End Select
                End If
            Next
            For Each T As CrystalDecisions.CrystalReports.Engine.Table In RD.Database.Tables
                Dim TLI As TableLogOnInfo = T.LogOnInfo
                TLI.ConnectionInfo = CI
                T.ApplyLogOnInfo(TLI)
            Next
            DisplayedReport.ReportSource = RD
        End Sub
    Does this approach not work with reports containing multiple tables, or is there something I'm missing? Any meaningful suggestions would be much appreciated.

    Dear Dixit,
    Please refer to the Crystal report landing page to get the details
    information about the support for crystal report issues.
    Please use the following thread to post your questions related to
    crystal report.
    SAP Business One and Crystal Reports
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • Failed to open the connection. Error in the Designer when copying ...

    I have two different systems I am developing an application on.
    I copy the entire directory from one system to the other. Both systems have the same environment:
    Visual Studio 2010
    Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
    SQL 2008 R2
    Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
    I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
    I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
    Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
    Failed to open the connection.
    Details: ADO Error Code: 0x80004005
    Source: Microsoft OLE DB Provide for SQL Server
    Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
    SQL State: 08001
    Native Error: 17 [Database Vendor Code: 17]
    I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
    Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
    I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
    Shayne

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

  • Crystal Server 2011 "Failed to open the connection" with 32 & 64 bit drivers are loaded

    Brand new installation of Crystal Reports Server 2011 with CR Developer 2011 as well.  Downloaded new Postgres and MySQL drivers for both the 32 and 64 bit ODBC definitions.  Created a new report on the server to eliminate any migration driver incompatibility issues.  Reports run fine in Developer but give the same "Failed to open the connection." 
    and still problems running the reports  If I Save Data with the reports, I can click View to see the data, but they will not refresh.
    All the articles I'm finding online seem to point to the issue with needing 32 & 64 bit drivers, but I've loaded both and built my ODBC connections with the 32 drivers in the SysWOW64 folder.
    Logged in as Administrator.  Any thoughts out there?  Are there some new security measures?
    Thanks in advance ...

    Yes, Designer and CRS are on the same machine.
    Good catch with the 5.1 driver.  I loaded up the mysql-connector-odbc-5.1.13-win32 driver and used that.  It alone failed when I made the ODBC connection with it.  I see on the CRS 2011 Feature Pack 3 .pdf file that it says "Only 64-bit database connector middleware is supported" ... I downloaded the other mysql-connector-odbc-5.1.13-winx64 64bit file, but teh .msi and .zip versions failed on the load.  Do I need that if it says that or should the first one be enough?
    I've been trying to use a normal User DSN, no?  Apparently I don't have access as a machine Administrator to do it as I get "You are logged on with non-Administrative privileges.  System DSNs could not be created or modified."  Having our server guys get that straightened out and we'll see.  Had not heard of that actually but will give it a go.
    You say I should create the DSN entries in the 64 bit version of the ODBC Data Source Administrator ... located in the system32 folder, not the SysWOW64 folder, where the 32 bit drivers are found, yes?  Isn't that the "wrong" location to use I've been reading?  Or are System DSNs different from a User DSN?
    BIG thanks for the replies.  I owe you beers!!!!!

  • CRS 2008 - Failed to open the connection.

    I just recently installed the evaluation of CRS 2008 onto my server. I can access every function in CMC and can see all reports that were published in InfoView. However, when I attempt to view a report, I get an error that states "Failed to open the connection. <<Report_Name.rpt>> "
    The server is a Windows 2003 R2 machine, with IIS 6.0 installed.
    During installation, I had checked both IIS & Java (along with the installation of Tomcat 5.5)
    I also installed Crystal Reports 2008, and all reports work perfectly in the developer. The database that the reports pulls data from is a Progress 9.1D database. Could the database be an issue even though I am connecting through an ODBC?

    Yes, the DSN is a system DSN and is located on the server that Crystal Reports Server 2008 is installed on. The Progress driver is also loaded. That driver is the MERANT 3.60 32-bit Progress SQL92 v9.1D.
    When I run the diagnostics, Web Intelligence Tier fails with the following error:
    "Error creating Dataproviders. null - Error viewing Web Intelligence Document. Cannot initialize Report Engine server. (Error: RWI 00226) - Scheduling Web Intelligence Report failed. --Document: " Diagnostic Web Intelligence Document Test" not found."
    I'm hoping this can shed some light on what is wrong.

  • Infoviewer Error - Failed to open the connection.

    Hi,
    I get the below error when tring to view a report from infoviewer?
    Failed to open the connection. Products.rpt Details: [Database Vendor Code: 12154 ]
    Also where can i find the log files for CMC and infoviewer?
    Thanks in advance

    Hi! I'm getting a similar error.
    Re: 08004:oracleodbcoraora-12154: TNS: could not resolve the connect ....
    Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
    Edit Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:OracleODBCOraORA-12154: TNS:could not resolve the connect identifier specified Database Vendor Code: 12154
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.
    Thank you, again, for your time.
    Jeff Embree.

  • Error: Failed to open the connection

    Hi all,
    I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
    It always display the following error:
    ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
    My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
    Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
    Thank you so much.

    Hi all,
    I have use Crystal Report 2008 to construct a report which access mySQL via ODBC. HOwever, I am fail to publish it to InfoView.
    It always display the following error:
    ERROR [PublishingService:HandlerPool-14] BusinessObjects_PublicationAdminErrorLog_Instance_2467 - [Publication ID # 2467] - Document job "Report2a.rpt" (id 2,475) scheduling failed: Failed to open the connection. ~tmp1356563301f0e10.rpt. (FBE60502)
    My BOE(XI 3.0) is installed in SUSE Linux Enterprise 9 x86 and have tested the ODBC connection via isql and it can be connected.
    Can anyone help to identify the problem? Or any procedure can be provided to publish the crystal report to InfoView.
    Thank you so much.

  • CrystalReportViewer Failed to Open the connection Unable to retrieve Object

    I am getting the following Error on trying to view a report in the CMC and the Infoview.
    CrystalReportViewer
    Failed to Open the connection. ReportName
    Unable to retrieve Object.
    Failed to open the connection. ReportName
    I have recently re-installed Crystal Reports Server XI  on a server after a disk failure. I had a backup of my CMS database. I reinstalled the Crystal Servwer without atttaching this database, however crystal did not create a new db so I attached my old one.
    I have deleted all my old ODBC connections and recreated them with new names and then reconnected my reports in Crystal Reports XI using the "Set Datasource Location" option and the report works fine.But as soon as I try to view it after uploading it as an object onto the server, I get the above error.
    Any help would be appreciated.

    I am tagging into this unanswered question as well because I think I have a similar issue.  In my case I have a report which runs correctly in Crystal Reports designer but when I move it to the scheduler it fails on a "Failed to connect" to the report.  In have used "Set data location" to no avail.  When I go to Admin Tools and look at the complete list of datasources for all my reports this particular datasource is listed twice.  The group of reports under one of the datasources works correctly.  The reports listed under the second datasource all fail.  The two datsources are spelled exactly the same and when I sompare the database details for a successfull and a failing report using this datasource they are the same (in the console and in infoview).
    I have also checked the ODBC connections on the Crystalserver and there is only one occureence.
    Any ideas?
    Thanks!

  • CR2008 - Failed to open the connection. Failed to open the connection. ...

    Getting the following error when running CR2008 reports from web server:
    "Failed to open the connection. Failed to open the connection. <report_name>{2585477E-FB02-4594-9DB5-FFBFF2ABE124}.rpt"
    The web server is a Windows Server 2008 x64.  The IIS7 application pool is configured for 32bit, which solved our initial problem.  We are getting the above error if we use either CR2008 or CR2008 SP1.  Same issue with CRRuntime_12_1_mlb.exe.
    If we load CR2008 onto the web server, we can open and run the reports.  Thus, there appears to be no problem with the reports or the data source (an Access database).  Web application runs on development machine (windows xp).
    Why is there a GUID in the report file name?  How can we resolve this issue or what else should we check?
    TIA, Gary.

    Figured it out.  Turns out the ODBC data source name had been setup incorrectly.  Became obvious when stepping through the code.

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

Maybe you are looking for

  • Profit center substitution in delivery from Purchase Order

    Hi all Hi have a stock transfer process between two company (1 sending company and the different target companies). I must change the profit center of sending company following the target company code (profit center A for target company A, B for B,et

  • Should I go for the new Retina Macbook Pro 13" (announced Oct 2013) or the Macbook Air 13"?

    So, I was set on the Macbook Air until Apple announced the new notebook. The reason I was set on Air previously is because I really need a portable laptop, and the Air was lighter. But the new Pro seems light enough if not as light, so I'm confused a

  • Error in installing itunes

    when i install itunes, display a warning like this "there is a problem with this Windows installation package. DLLs needed for this installation is completed the installation can not be run contact your support provider or seller of your package" wha

  • Help! ORA-03113 while compiling certain packages!

    Hello everyone Recently we migrated our PLSQL code from Oracle 8.1.7.0 to 9.2.0.4. While compiling our packages in 9i, we are getting the ORA-03113: end-of-file on communication channel error. This happens only when we compile two particular packages

  • Insert Statement with JAVA

    I'm trying to insert Data into an access table. Moreover, I'm able to retrieve data on the table (to prove that I'm connecting fine)... I just can't insert Data try                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");                Connecti