Windows 10: Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...

Discus and support Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,... in Windows 10 BSOD Crashes and Debugging to solve the problem; Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error 0x80131506. The... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Spidsy, Nov 22, 2023.

  1. Spidsy Win User

    Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...


    Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error 0x80131506. The applications' individual error logs cite different and inconsistent paths each crash, which gives me the impression that this is specifically the framework itself. All existing threads involving these errors are made by developers, not users, so I have not been able to find a solution on this forum.The event viewer consistently logs these crashes in quick succession as follows, using paintdotnet.exe as an example:1Application: paintdotne

    :)
     
    Spidsy, Nov 22, 2023
    #1
  2. Spidsy Win User

    Applications using .NET Framework consistently CTD with internal CLR error (0x80131506), event viewer blames coreclr.dll

    Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error (0x80131506). The applications' individual error logs cite different and inconsistent paths each crash, which gives me the impression that this is specifically the framework itself. All existing threads involving these errors are made by developers, not users, so I have not been able to find a solution on this forum.

    The event viewer consistently logs these crashes in quick succession as follows, using paintdotnet.exe as an example:

    Solutions I have tried include:
    - Uninstalling and reinstalling the program in question. Reinstallation occasionally fails with the same error shown in event viewer.
    - Uninstalling and reinstalling the respective .NET Frameworks versions. However, as the programs in question have pre-packaged files, this likely didn't do anything.
    - sfc /scannow and the DISM triad (check/scan/restore).
    - Running the .NET Framework repair tool,
    - Uninstalling and reinstalling drivers.
    - Running MSERT and other programs to check for malware.
    - Running ProcessMonitor to pinpoint the exact moment the issue occurs.
    Notably, dotnet.exe calls for HKLM/SOFTWARE/Microsoft/Rpc/SecurityService, vssvc.exe creates a thread, mmc.exe enters HKCU, and dotnet.exe subsequently calls for WerFault.exe to (presumably) begin the error log.
    - Uninstalling and reinstalling windows updates, and preventing the update service from running.
    After uninstalling update KB5031356, the issue appeared to have been resolved; however, now that it has been reinstalled, it produces error 0x800f0905 when I attempt to uninstall it a second time.

    I've been troubleshooting this for about a week now, and I'm a bit stumped. I don't want to reset this PC yet, though. Thank you in advance.

    EDIT: Attempting to reinstall Windows 10 while keeping all files and apps did not fix the issue.
    The event viewer recently portrayed the same error as "System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
     
    Spidsy, Nov 22, 2023
    #2
  3. Microsoft .Net Framework

    Basically, to sum up what I can tell:
    -The application(s) that crashed use .NET Framework 2.0 or 3.5.
    -First error is it getting nothing when it expected something (not very telling).
    -Second error occured in "System.Data.SQLite" which is not .NET Framework. I repeat, not .NET Framework.
    -SQLite is is a GNU licenced, free to use library.
    -Any .NET-compiled service or process could be causing the error. If you watch the Task Manager, you might be able to tell which process closes after you click on "Quit."

    I suggest you search your computer for sqlite*.dll. Whatever programs it is found in close proximity to are most likely the culprits for the crashes.
     
    FordGT90Concept, Nov 22, 2023
    #3
  4. Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...

    Microsoft .NET Framework, Unhandled exception

    Hi,

    Welcome to Microsoft Community.

    I suggest you to un-check and recheck .Net framework 3.5 and .Net framework 4.6 advance series from Windows features.

    Try the following steps:

    • Press Windows + R keys to open Run command.
    • Type Appwiz.cpl and select "turn Windows feature on or off" from the left
    • Uncheck .Net framework 3.5 and .Net framework 4.6 advance series.
    • Restart the computer
    • Repeat step 1 and 2 and check .Net framework 3.5 and .Net framework 4.6 advance series.
    • Restart the computer.
    Regards,
     
    Waseemulla S, Nov 22, 2023
    #4
Thema:

Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...

Loading...
  1. Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,... - Similar Threads - Applications using NET

  2. Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...

    in Windows 10 Gaming
    Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...: Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error 0x80131506. The applications' individual error logs cite different and inconsistent paths each crash, which gives me the impression that this is...
  3. Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...

    in Windows 10 Software and Apps
    Applications using .NET Framework consistently CTD with internal CLR error 0x80131506,...: Any and all applications that use dotnet, such as paintdotnet.exe, will briefly function before closing with an internal CLR error 0x80131506. The applications' individual error logs cite different and inconsistent paths each crash, which gives me the impression that this is...
  4. .NET Framework Error

    in Windows 10 Customization
    .NET Framework Error: Hi there.I am having problems with .NET Framework. Everytime I run an app that uses .NET framework, it will display messages like this:This problem is major to me because some apps like Visual Studio and Discord will not work.I have tried the following: - Re-enable the .NET...
  5. .Net Framework Error

    in Windows 10 Gaming
    .Net Framework Error: Every time I wake my computer from sleep I get the following Microsoft .NET Framework error. I cannot figure what is causing this issue.See the end of this message for details on invoking just-in-time JIT debugging instead of this dialog box.************** Exception Text...
  6. Application error messages and .NET framework errors

    in Windows 10 Ask Insider
    Application error messages and .NET framework errors: Hello! I have been having this problem for quite a while and I can't seem to find a solution anywhere else so I have decided to ask for help here. As seen in the first link, I always get a ton of these error messages when I first start up my computer. This happened recently...
  7. .NET framework errors

    in Windows 10 Ask Insider
    .NET framework errors: I tried downloading GOG Galaxy 2.0 and it said that I needed the .NET framework to install it. When I try to install that latest version of the framework it says I already have it installed. A similar thing happened with Discord when I tried to reinstall it (although it won't...
  8. Having Issues with Applications using .NET Framework

    in Windows 10 BSOD Crashes and Debugging
    Having Issues with Applications using .NET Framework: When running certain apps that use .NET framework, I get application errors. For example, when running 'Battlestate Games Launcher', I get Application Error: '0xc0000135' which indicates an issues with .NET framework. I have tried performing a clean install of Windows trying...
  9. .NET Framework error

    in Windows 10 Network and Sharing
    .NET Framework error: I have a new HP with Windows 10 which is also up to date. I am trying to install Printshop 23.0 Deluxe and I keep getting the .NET Framework error. I have been emailing with their support but it is not helping much. Suggestions??...
  10. .NET framework clr error: 80004005 then complete;y unusable

    in Windows 10 Installation and Upgrade
    .NET framework clr error: 80004005 then complete;y unusable: I have been having issues with all razer softwares on my desktop. when ever i try to download them or run them i get "clr error: 80004005". trying to solve this myself i found several microsoft forums saying to delete and reinstall the .NET framework of an earlier version....