0

I try to write a wpf application and in a random situation the application close with this error into event view:

The process was terminated due to an internal error in the .NET Runtime at IP 00007FF8E1673B60 (00007FF8E1670000) with exit code 80131506.

I search on google and the solution is disable Concurrent Garbage Collector, but the fix is available only for 3.5 framework and I work to 4.5 framework.

Any suggestion? Thanks regards

C.Fasolin
  • 313
  • 1
  • 4
  • 19
  • check this link: https://stackoverflow.com/questions/4367664/application-crashes-with-internal-error-in-the-net-runtime There is a similar question regards – Jorge Turrado Aug 04 '17 at 08:39
  • 1
    The [`` element](https://learn.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/gcconcurrent-element). – Martin Liversage Aug 04 '17 at 08:40
  • 1
    The `` works in the later .NET versions too, not just 3.5. The GC name has changed from "concurrent" to "background", but it's still the same feature, and if you are getting an error actually caused by background GC, that element is what you need to disable it. Note that asking literally "how to disable concurrent GC on .NET 4.5" doesn't make any sense, because technically there is no "concurrent GC" in .NET 4.5; it's a new GC called "background GC". But the answer is still the same. – Peter Duniho Aug 04 '17 at 17:53
  • thank you @PeterDuniho may you tell me where have you read these information into msdn doc? – C.Fasolin Aug 05 '17 at 10:33
  • 1
    It's all in the link provided in the comment just before mine. – Peter Duniho Aug 05 '17 at 10:34
  • ok thankyou very much – C.Fasolin Aug 05 '17 at 10:36

0 Answers0