I got the following error after upgrading from AX 2012 RTM CU3 to AX 2012 R2 when trying to compile the application:
Error executing code: SysCountryRegionCodeCache (object) has no valid runable code in method 'getValue'.
(C)\Classes\SysCountryRegionCodeCache\getValue
(C)\Classes\ClassFactory\countryInfo - line 27
(C)\Classes\SysCountryRegionCode\countryInfo - line 16
(C)\Classes\SysCountryRegionCode\getCountryRegionContextByName - line 61