web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

CLR Exception when running test codeunit

(1) ShareShare
ReportReport
Posted on by 71
Hi, 
I'm working on developing test codeunits to test out our extension, 
My tests were mostly working great but yesterday I started having a CLR Exception on every single tests I've created, rendering all of my test codeunits useless. 
The complete message indicates : 
 
Exception CLR imprévue survenue.: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Dynamics.Nav.Client.Tracing, Version=22.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
I'm especially having this problem when using TestPage.OpenNew().
 
Is there a way to solve this issue ? Why did it work before and suddenly stopped working ? 
Thanks for your insight.
 
I have the same question (0)
  • MS-01071154-0 Profile Picture
    6 on at
    Hey, have you found a solution yet? I have the same problem right now.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans