Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

NAV instance stop running because issues with .NET Framework

Posted on by 1,645

Hello guys,

After switching NAV2013 to a brand new server. Dynamics instance stop working randomly.

I start noticing a patter that services stop when Dynamics got busy.

After researching the codes on event viewer, the problem is generated by .NET Framework Garbage Collector.

Unfortunately the blog with the solution mention about run certain code under visual studio and I'm not sure if that is the right path to follow. I would like to share with you first and see if anyone had the same issue before.

Down below is the error message from event viewer.

 

Faulting application name: Microsoft.Dynamics.Nav.Server.exe, version: 7.0.42591.0, time stamp: 0x55df70b0
Faulting module name: clr.dll, version: 4.6.1637.0, time stamp: 0x586fe714
Exception code: 0xc0000005
Fault offset: 0x0000000000020615
Faulting process id: 0xa98
Faulting application start time: 0x01d2b37afa46b976
Faulting application path: C:\Program Files\Microsoft Dynamics NAV\70\Service\Microsoft.Dynamics.Nav.Server.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Report Id: b0be98c2-acde-48f8-af15-42cabcd3ed60
Faulting package full name:
Faulting package-relative application ID:

Thank you for your support.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV instance stop running because issues with .NET Framework

    Hello Maneesha,

    Can You send dll file in zip Format to dwatter@mse-gruppe.de

    Thanx in advance. I will Check

    Daniel

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: NAV instance stop running because issues with .NET Framework

    ok , im not sure about this , ill give my clr.dll  dell for you

    just turn off your virus guard (real time protection) on both Server and client(your PC that the email coming){in case virus guard block the file}

    just provide your email ill send it , try to update by replacing on same place

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV instance stop running because issues with .NET Framework

    Hello Maneesha,

    Yes i did. But this Hand No effect. Framework 4.72 as i think.

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: NAV instance stop running because issues with .NET Framework

    hi

    have you tried latest Microsoft .NET Framework installation

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV instance stop running because issues with .NET Framework

    Hello Alex,

    thanks for your reply. Separate Service would be good idea as otherwise all other users are killed randomly.

    The issue is interesting with the printing service. What i have seen is that addin is working properly at all times until you do a manual step on the Electronic payment terminal (EC Cash) i.e. push the abort button manually or pay by Card and enter your pin number (on the hardware - the addin is connection to electronic payment terminal). But to mention - in the special processes NOT working system is asking for printing a receipt as the hardware has an included printer.

    This means when going on Error or receiving positive message the printer included in the EC Cash Terminal prints a small receipt on a piece of paper. I do not need that -  as I Can print that on my Invoice in Dynamics.

    So you say the problem was attached to printing features ? Just to mention again. All other trys to access the terminal are working properly. Only manual impact results in collapse of service - and using manual impact - small receipts are printed on the terminal.

    Somehow I guess it is an error in the third part dll

    Regards

    Daniel

  • spyroot Profile Picture
    spyroot 1,645 on at
    RE: NAV instance stop running because issues with .NET Framework

    Hi Skyediver,

    Yes, the problem I had was involved a third party Add-on dll's. After disabling the printing feature from the Add-on, everything went back to normal.

    At the beginning all sides (Microsoft and Add-on developers) were asking to install latest windows and .NET updates but that was not my problem.

    If you have Add-ons installed on your environment, try to run them on separate instances, that will help you to troubleshoot faster the issue.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: NAV instance stop running because issues with .NET Framework

    Dear Alex. I have just the Same Problem with NAV2017 CU3. NAV Server Crashes When accessing cardterm64.dll from telecash. Also Error as shown above. Crl.dll Problem . What was the solution of your third party developers ?

  • spyroot Profile Picture
    spyroot 1,645 on at
    RE: NAV instance stop running because issues with .NET Framework

    Final Update....

    Finally the issue has been found out. The problem was originated by dll files that come with a third party application installed on Dynamics.

    After explaining all troubleshooting done to developers, they did release a hotfix to solve the problem.

    It took me more than a month to find out about is since so many variables were added at the same time (windows updates, new server, new windows server version, new version of third party sw).

    Thank you for your help guys.

  • spyroot Profile Picture
    spyroot 1,645 on at
    RE: NAV instance stop running because issues with .NET Framework

    Update...

    Definitely the issue is related with a third party application that interact with Dynamics. Some how there is a problem with the Garbage Collector file (clr.dll).

    We have installed new dll files and the issue persist. Even we have created separate NAV instances to split the load between RTC users and the third party app with no luck.

    I'm waiting for developers (third party app) to provide a good fix.

  • Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: NAV instance stop running because issues with .NET Framework

    Thanks for the update

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans