ASP Errors [Answered]RSS

7 replies

Last post Jan 27, 2020 09:08 AM by AshutoshApte

  • ASP Errors

    Jan 09, 2020 02:34 PM|AshutoshApte|LINK

    Hi Team,

    We have a software which has mostly ASP and vb6 components. We use IIS to host our website. When we install the software and open the ASP page. We get below error.

    A trappable error (C0000005) occurred in an external object. The script cannot continue running. 

    Also, we get below error when ASP is trying to create a object of VB6 dll

    Method '~' of object '~' failed

    We did put a debug log into the same dll and found that the same error is getting thrown on the line "Exit Sub".

    Can anyone please help?????

  • Re: ASP Errors

    Jan 10, 2020 07:21 AM|Yuk Ding|LINK

    Hi AshutoshApte,

    C0000005 is access violation exception. This error have something to do with memory read.

    You may need to capture a crash dump to check its memory address and callstack.

    Besides, process monitor will show access violation exception. So you could use this tool to help you troubleshooting this issue.

    https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

    Best Regards,

    Jokies Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: ASP Errors

    Jan 10, 2020 07:48 AM|AshutoshApte|LINK

    Thank you Yuk. Any idea about "Method '~' of object '~' failed" error?

  • Re: ASP Errors

    Jan 14, 2020 10:05 AM|Yuk Ding|LINK

    Hi AshutoshApte,

    This error can be a registration issue or compatibility issue. 

    https://stackoverflow.com/questions/1302026/what-does-method-of-object-failed-mean

    Best Regards,

    Jokies Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: ASP Errors

    Jan 21, 2020 11:30 AM|AshutoshApte|LINK

    I tried something like following

    <%
    try
    {
    response.write("Show this");
    }
    catch(e)
    {

    }
    %>
    <HTML>
    <head>


    </Head>
    <body>
    This should be shown.
    </body>
    </html>

    Above code works but if I add Response.write(e.description) in catch block it fails again. Failed Request says "Response" is undefined...rest all ASP pages working other than C00000005 Trappable error.

    Regards

  • Re: ASP Errors

    Jan 21, 2020 11:36 AM|AshutoshApte|LINK

    it seems the dlls are working fine when getting called from other DLLs or Exes but when getting called from Web page fails. 

  • Re: ASP Errors

    Jan 27, 2020 08:22 AM|AshutoshApte|LINK

    Any help? This issue is only occurring on Windows Server 2019. On Windows Server 2016 the same webpages and dlls, everything is working fine.

  • Re: ASP Errors

    Jan 27, 2020 09:08 AM|AshutoshApte|LINK

    I found the issue myself. I just changed the App Pool setting to "Classic" from "Integrated" and everything seems to be working fine.