“A parameter could not be serialized”
Hızlı çözüm: Tools-> Options -> Development tab.” altındaki “Excute business operations in CIL” kutucukdaki çek işareti kaldırılmalı.
Bu hatanın sebebi başarılı olarak FULL CIL yapamamış olmanız. Yeniden FULL CIL yapın ve çıkan hataları düzeltin.
“CIL generation: source array was not long enough…”:
- Stop the AOS.
- Delete all of the source in the C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL directory.
- Start the AOS.
- Perform a full CIL generation. 5.(Only do if errors are still there and you have no error when compile X++, just comment the code notice in Compiler output with /*..*/, recompile CIL and delete comment tag)
“CIL generation error : The given key was not present in the dictionary”:
- Check the CIL log file, generally located at “C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL\Dynamics.Ax.Application.dll.log”
- You will find the AOT object for which the CIL generator found the error.
- Compile that object, fix the error, or delete (if needed) and then regenerate the IL.
- (Only do if errors are still there : Stop AOS > Delete the .auc file from users\\Appdata folder > Restart AOS)
DB synchronize error: “Field mismatch in union query. Field … is not compatible with field …”
Check your EDT concern to that field ( in query, table, view). They have different size. So you just change the size to be the same. Or check someone changed size of standard EDT. It’s the reason cause this error
“Duplicate type with name ‘Dynamics.Ax.application.’ in assembly ‘Dynamics.Ax.application “
- Stop the ax service.
- Truncate the SysXPPAssembly in db model
- Delete all the files in below directory in server where AOS hosted:
C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL
- Start the service
- Compile full CIL