Compilation of Assembly error

Below error is showing while opening my nav 2013 r2 RTC.


Microsoft Dynamics NAV

Compilation of assembly ‘C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\assembly\Record2000000111_2018.dll’ failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: The following internal csc.exe compiler error occurred which cannot be handled:
C:\Windows\ServiceProfiles\NetworkService\Desktop> “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe” /t:library /utf8output /R:“C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Ncl.dll” /R:“C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Types.dll” /R:“C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Language.dll” /R:“C:\Windows\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\System.Runtime.Serialization.dll” /out:“C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\assembly\Record2000000111_2018.dll” /debug- /optimize+ /w:0 /optimize+ “C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\source\Record\Record2000000111_2018.cs”


OK

It is not enough information to advice you something.

I think you need to read something like - https://community.dynamics.com/nav/b/sauravdhyanimicrosoftdynamicsnav/archive/2014/11/30/nav-2013-amp-later-differences-between-binaries-in-your-installation-or-your-database (adn check assembly\Record2000000111_2018.dll’ failed) or forum.mibuso.com/…/error-when-running-code-unit-on-rtc

My issue has been resolved by compiling all the objects and restarting the nav service.