ASP Errors 0115 being logged by the application randomlyRSS

3 replies

Last post Nov 28, 2018 12:07 AM by montesco

  • ASP Errors 0115 being logged by the application randomly

    Mar 23, 2017 04:00 PM|Rahim Badsha|LINK

    Hi,

    We have a legacy application built in classic asp which has most of its pages calling the COM dll's using Server.CreateObject.

    In the last few months, we have been receiving multiple complaints from Users that they are shown 500 error messages while trying to access our application. This appears to happen very randomly.

    Upon further investigation, we have found that exceptions are being logged as 'Unexpected error:A trappable error (C0000005) occurred in an external object. The script cannot continue running.' while calling the Server.CreateObject function and gets resolved only after an appool recyle. We have been trying hard to understand what is causing this suddenly but unfortunately no luck :(

    Another pointer here is that we see a MS security update (KB3163251 and KB3142033) was done a day before these errors have started in our application. Any help on this will be much appreciated.

    Thanks in advance.

    Regards,

    Rahim

  • Re: ASP Errors 0115 being logged by the application randomly

    Mar 24, 2017 08:06 AM|Yuk Ding|LINK

    Hi Rahim,

    The error message 'error:A trappable error (C0000005) occurred in an external object' could occur when the the dependent file has missing or need permission for an external file.  I assume the insufficient permission for  IUSR or application pool identity cause this error.

    Try to enable the process monitor the capture the error:

    http://stackoverflow.com/questions/4649487/classic-asp-c0000005-error-on-execution

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: ASP Errors 0115 being logged by the application randomly

    Mar 25, 2017 05:24 PM|Rahim Badsha|LINK

    Many thanks for your response Yuk.

    I did read in some articles that the problem could be due to insufficient permissions but what confuses me is:-

    1) If the issue is due to the access, why is it occurring randomly and not all the time?

    2) How does it get resolved everytime we do an apppool recycle? Shouldnt the problem still continue if the root cause is the access.

    Your help on this would be much appreciated.

    Regards,

    Rahim

  • Re: ASP Errors 0115 being logged by the application randomly

    Nov 28, 2018 12:07 AM|montesco|LINK

    Hola,

    tengo el mismo problema el reciclar el pool soluciona el problema. esto ocurre de forma aleatoria.

    por favor su ayuda.