Tanya Jalah
Tanya Jalah

Reputation: 11

Get more detail information on AccessViolationException

I have an application that contains of hundreds of C# (main app) and some C++ projects. We are using .NET 6 and it is working fine. until recently I would like to try to upgrade to .NET 8 and I got System.AccessViolationException without much information to know the detail information (stack trace, code/method that call it, etc). I have no idea how to track the cause of this because the scope area is too big.

An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Additional information:

Question: What can I do to help me track the cause of this exception and makes it running well as in previous .NET version (6.0 and 7.0)?

Thanks

Upvotes: 1

Views: 196

Answers (0)

Related Questions