Description:Fatal Exception during script excution. COM Error

Posted by: jdevroy on 4 August 2017, 3:16 pm EST

  • Posted 4 August 2017, 3:16 pm EST

    We have been using Active Reports 2.0 in our application for many years now and everything has been running fine, but over the past year we have been having issues with certain errors.







    Essentially when maybe 10 to 15 people try to run reports at the same time it causes a certain subset of our reports to fail until we do an iisreset.







    These are the two errors we see. One error is

    Error #5800 Scripting Error.

    [ Extended Info:Source: Report , Event: OnReportStart , Line number: 101 Description:Fatal Exception during script excution.] The Line number will often change, and the report will fail in different places.





    The other error we see is a COM error.





    Source: COM+

    Event ID: 4689

    Description:

    The run-time environment has detected an inconsistency in its internal state. This indicates a potential instability in the process that could be caused by the custom components running in the COM+ application, the components they make use of, or other factors. Error in d:\nt\com\complus\src\comsvcs\threads\stathread.cpp(285), hr = 80070008: CSTAThread: CoGetApartmentID failed



    Since this only happens every once in awhile it is difficult to determine why. We found some information from Microsoft that relates this error to desktop heap overallocation, but the adjustment we made to the allocation size did not help.



    We have not been able to find the specific cause of this error, but we know it is related to overall load on the server. We are able to duplicate the error by having 10 people log on to a server and run reports at the same time. But the logs show us no obvious errors happening besides the 5800 fatal exception. I am hoping that you guys have run into the issue before, and can help us out.



    A little information about our configuration.

    We are running Server 2003 and IIS 6.0 with ActiveReports 2.0.



    Thanks for any assistance you can provide.



    -James
  • Replied 4 August 2017, 3:16 pm EST

    Hello James,

    Thank you for your query. The error that you mention refers to the script of your report. Can you send us the RPX of the error so that we may investigate in this regard. Further, what is the current build of ActiveReports that you are using? You may try to upgrade to the latest public build from this link and let us know of your results.

    Regards,
    Prantik
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels