ASP Errors 0115 being logged by the application randomly RRS feed

  • Question

  • User1382946280 posted


    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.



    Thursday, March 23, 2017 4:00 PM

All replies

  • User-460007017 posted

    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:


    Best Regards,

    Yuk Ding

    Friday, March 24, 2017 8:06 AM
  • User1382946280 posted

    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.



    Saturday, March 25, 2017 5:24 PM
  • User63627533 posted


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

    por favor su ayuda.

    Wednesday, November 28, 2018 12:07 AM