Catastrophic failure

Ask a Question related to Informix, Design and Development.

  1. #1

    Default Catastrophic failure

    IM getting this error when i try to run Teecharts ActiveX control in asp.net
    environment

    can some one help me in it

    Regards Moid Iqbal

    Catastrophic failure
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information
    about the error and where it originated in the code.

    Exception Details: System.Runtime.InteropServices.COMException: Catastrophic
    failure

    Source Error:

    Line 59: dr = com.ExecuteReader
    Line 60: Dim tchart As New TeeChart.TChart()
    Line 61: tchart.Series(0).DataSource = dr
    Line 62: tchart.Series(0).YValues.ValueSource = "tons"
    Line 63: tchart.Series(0).LabelsSource = "shift date"

    Source File: D:\Inetpub\wwwroot\Accuweigh\subreports\teechartpr eview.aspx.vb
    Line: 61

    Stack Trace:

    [COMException (0x8000ffff): Catastrophic failure]
    TeeChart.TChartClass.Series(Int32 SeriesIndex) +0
    Accuweigh.teechartpreview.assd() in
    D:\Inetpub\wwwroot\Accuweigh\subreports\teechartpr eview.aspx.vb:61
    Accuweigh.teechartpreview.Page_Load(Object sender, EventArgs e) in
    D:\Inetpub\wwwroot\Accuweigh\subreports\teechartpr eview.aspx.vb:46
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +29
    System.Web.UI.Page.ProcessRequestMain() +724





    ----------------------------------------------------------------------------
    ----

    Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
    Version:1.0.3705.288


    Dim con As New OdbcConnection("DRIVER={MySQL ODBC 3.51 Driver}; SERVER=
    localhost; DATABASE = accuweigh ; UID = root; PASSWORD=;")
    Dim dr As OdbcDataReader
    con.open()
    Dim com As New OdbcCommand("select date_format(chronology.shiftdate,'%b
    %d,%x') as 'shift date',round(sum(draglinecycles.tons),2) as 'tons' from
    chronology left join draglinecycles on draglinecycles.excavator =
    chronology.excavator and draglinecycles.recindx = chronology.recindx group
    by 'excavator' order by 'excavator'", con)
    dr = com.ExecuteReader
    Dim tchart As New TeeChart.TChart()
    tchart.Series(0).DataSource = dr
    tchart.Series(0).YValues.ValueSource = "tons"
    tchart.Series(0).LabelsSource = "shift date"
    Response.BinaryWrite(tchart.Export.asPNG.SaveToStr eam())



    Ive Also used this code but the error was the same as given above

    Dim con As New ADODB.Connection()
    Dim rs As New ADODB.Recordset()
    con.ConnectionString = "DRIVER={MySQL ODBC 3.51
    Driver};SERVER=localhost;DATABASE=accuweigh;UID=ro otPASSWORD=;"
    con.Open()
    rs.Open("select date_format(chronology.shiftdate,'%b %d,%x') as 'shift
    date',round(sum(draglinecycles.tons),2) as 'tons' from chronology left join
    draglinecycles on draglinecycles.excavator = chronology.excavator and
    draglinecycles.recindx = chronology.recindx group by 'excavator' order by
    'excavator'", con)
    Dim tchart As New TeeChart.TChart()
    tchart.Series(0).DataSource = rs
    tchart.Series(0).YValues.ValueSource = "tons"
    'tchart.Series(0).LabelsSource = "shift date"
    'Response.BinaryWrite(tchart.Export.asPNG.SaveToSt ream())





    miqbal Guest

  2. Similar Questions and Discussions

    1. Debugging - Catastrophic Failure :( !!!
      I've installed VS.NET on my win2000 OS and I've created a simple ASP.NET web application. But when I try to debug I receive following dialog box...
    2. 1.8.1 failure
      Solaris 9 gcc 3.3.1 yaml2byte.c: In function `bytestring_alloc': yaml2byte.c:42: warning: integer constant is too large for "long" type...
    3. dllhost.exe hangs or Catastrophic Failure on Oracle Connection.Open
      I am receiving an intermittent and inconsistent error on my asp page. I am using ADO to connect to an Oracle 9 db, and it usually works fine, but...
    4. Catastrophic Failure.
      I am running an insurance program from AmerUs Life insurance. This program was created by Bill Harris(800.800.SALE). It uses Macromedia Director....
    5. System.Runtime.InteropServices.COMException - Catastrophic Exception
      I'm trying to generate excel sheet using SpeedGen COM object. I'm getting 'Catastrophic exception,Error code : 2147418113' when i try to access...
  3. #2

    Default Catastrophic failure

    I have an application that periodically (every 10 minutes) connects to an
    informix server and uploads/downloads some data.

    When I connect using ADO and ODBC the machine uses an increasing amount of
    memory, until it reaches even 70 Mb. I already have checked that I'm closing
    all recordsets, destroy objects, close connection, etc.

    When I use OLEDB, it works fine until, after a varying number of
    connection/disconnection, I get a "Catastrophic Failure" and from that
    moment each try to connect results in the same error. When I close the
    program and start it again it connects again until the problem repeats.

    Any help? Thanks in advance


    Agustín Caballero Guest

  4. #3

    Default Re: Catastrophic failure

    I have seen a similiar scenario but with a different database. The JDBC
    driver we used had a bad memory leak. With each connection some memory would
    be leaked out. Consequently, this add up to a big amount. It looks like the
    same thing is happenning with your box.

    What OS is Informix running on ? Can you check memory using some tool on it
    ?

    "Agustín Caballero" <agustincb@ono.com> wrote in message
    news:fsc0b.38756$FN3.2676469@news.ono.com...
    > I have an application that periodically (every 10 minutes) connects to an
    > informix server and uploads/downloads some data.
    >
    > When I connect using ADO and ODBC the machine uses an increasing amount of
    > memory, until it reaches even 70 Mb. I already have checked that I'm
    closing
    > all recordsets, destroy objects, close connection, etc.
    >
    > When I use OLEDB, it works fine until, after a varying number of
    > connection/disconnection, I get a "Catastrophic Failure" and from that
    > moment each try to connect results in the same error. When I close the
    > program and start it again it connects again until the problem repeats.
    >
    > Any help? Thanks in advance
    >
    >

    Jack A Guest

  5. #4

    Default Re: Catastrophic failure






    Hi Agustin,

    Probably I may be able to help you if you can give me some more information
    regarding the problem.
    What CSDK version you are using.
    What kind of ADO application this is, I mean, is it a plain VB Ado
    application or
    a three-tier application executing with in MTS host process ?.

    Regards,
    Satyan.



    |---------+---------------------------->
    | | "Agustín |
    | | Caballero" |
    | | <agustincb@ono.co|
    | | m> |
    | | Sent by: |
    | | owner-informix-li|
    | | [email]st@iiug.org[/email] |
    | | |
    | | |
    | | 08/18/2003 05:30 |
    | | PM |
    | | Please respond to|
    | | "Agustín |
    | | Caballero" |
    |---------+---------------------------->
    >------------------------------------------------------------------------------------------------------------------------------|
    | |
    | To: [email]informix-list@iiug.org[/email] |
    | cc: |
    | Subject: Catastrophic failure |
    >------------------------------------------------------------------------------------------------------------------------------|



    I have an application that periodically (every 10 minutes) connects to an
    informix server and uploads/downloads some data.

    When I connect using ADO and ODBC the machine uses an increasing amount of
    memory, until it reaches even 70 Mb. I already have checked that I'm
    closing
    all recordsets, destroy objects, close connection, etc.

    When I use OLEDB, it works fine until, after a varying number of
    connection/disconnection, I get a "Catastrophic Failure" and from that
    moment each try to connect results in the same error. When I close the
    program and start it again it connects again until the problem repeats.

    Any help? Thanks in advance




    sending to informix-list
    Sathyanesh Krishnan Guest

  6. #5

    Default Catastrophic Failure

    Hello,

    Every now and then we are getting a 'error executing database query.
    Catastrophic failure' on various sites on the server. This server runs cfmx
    7.0.2 with jrockit as the jvm, 2 gigs of ram, heap size at 1024. A cf restart
    fixes the issue for a period of time. Has anyone ever run into anything
    similar?

    Mattfe Guest

  7. #6

    Default Re: Catastrophic Failure

    Have you turned on ODBC logging? Can you tell us what page and what
    lines of code are showing the error?

    If you do not know how to correlate the error to a page and lines of
    code try

    1. adding a cflog entry in your application.cfm (if you use it and if
    not add the file) where you log the time, date, and page being run
    2. add cfcatch try that dumps a stack trace for DB errors.


    Mattfe wrote:
    > Hello,
    >
    > Every now and then we are getting a 'error executing database query.
    > Catastrophic failure' on various sites on the server. This server runs cfmx
    > 7.0.2 with jrockit as the jvm, 2 gigs of ram, heap size at 1024. A cf restart
    > fixes the issue for a period of time. Has anyone ever run into anything
    > similar?
    robisen@gmail.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139