Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

How to troubleshoot CLR20r3 error from a customized screen

(0) ShareShare
ReportReport
Posted on by 285

I have a customized screen that crashes and produces the CLR20r3 error when it loads. It is only thrown when the customization is installed. (screen loads if I turn the "Exclude Event Code" option on.)

The problem is not the code. If I remove all my code and just put a msgbox("blah") or even just a comment the screen crashes. Also, did I mention it worked in my test environment? Is also works on the App Server. I am running the SL client on a Windows 2008 EnterpriseTerminal server. (I also tried reinstalling the client ad still crashes)  Both of the servers that it did work on are running 2008 server standard. This is the only difference I can see.

I am stumped. Any ideas on how to troubleshoot this further?

*This post is locked for comments

  • Albert Zuniga Profile Picture
    285 on at
    Re: How to troubleshoot CLR20r3 error from a customized screen

    The NXCompatFlag fix worked! Many Thanks!!

  • Barry Flynn Profile Picture
    3,090 on at
    Re: How to troubleshoot CLR20r3 error from a customized screen

    << Forgot to mention. This problem is isolated to the ebanking screens

    I think you posted that extra comment at the same time as I posted my suggestion!

    Are you referring to the Sandler Kahne ebanking screens?

    If so I suggest that you contact Sandler Kahne.

    Barry

  • Verified answer
    Barry Flynn Profile Picture
    3,090 on at
    Re: How to troubleshoot CLR20r3 error from a customized screen

    Albert

    Could be the NXCompatFlag issue.

    This peoblem causes errors on screen load, but seems to be extremely variable - on some machines it gives the error, and on others it doesn't.

    It does seem that the presence of customizations makes it more likely that the error will occur.

    If that is the problem, there seems to be two ways of fixing it, which are actualy two different flavours of the same fix.

    One applies the fix as a "post compile" step.

    The other patches the .exe after the compile is done.

    That's the way I am doing it.

    Create a temp folder to work in.

    Copy the .exe into that folder.

    Create a .bat file in the same folder, containing this code

       call "c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"

       editbin.exe /NXCOMPAT:NO .\*.exe

    (You may need to alter those Paths - depending on your Vis Studio install.)

    Then run the batch file.

    If there are no error displays, and the date/time of the .exe changes, then the patch has been performed.

    Hope that is some use.

    Barry

  • Albert Zuniga Profile Picture
    285 on at
    Re: How to troubleshoot CLR20r3 error from a customized screen

    Forgot to mention. This problem is isolated to the ebanking screens.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans