Last Updated: 14 Mar 2023 13:08 by Adam
Created on: 12 May 2021 11:47
Type: Bug Report
Long file names lead to AccessViolationException

Using elevated mocking mode (profiler enabled) with long path names for the test containers (above 260 characters) causes the following command:

dotnet test

to fail with error:

Testhost process exited with error: Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Main(System.String[])
. Please check the diagnostic logs for more information.

Test Run Aborted.

1 comment
Posted on: 17 Aug 2021 07:19

The issue is fixed and it is available with the R2 SP1 2021 version 2021.2.615.4.

Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at