if you are getting the error below after a incremental of full CIL compilation :
"CIL generation: Object reference not set to an instance of an object."
Err:351
Run full CIL generation using the following steps.
1. Shutdown the AOS
2. Delete the contents of the bin\XppIL folder on the AOS server (with backup in place)
3. Truncate the SysXppAssembly table in SQL (with backup in place)
4. Restart the AOS
5. Generate full CIL
6. Restart the AOS again
Gill's Dynamics AX ERP Blog - Israel
Dive Into Microsoft Dynamics AX
Wednesday, December 25, 2013
Monday, December 16, 2013
Microsoft Dynamics AX 2012 X++ Editor Extensions
Brace Matching Extension
Highlight Words Extension
Outlining Extension
Link : http://ax2012editorext.codeplex.com/
Dynamics ax Outlook integration
Issue 1 Activities not synchronized to Outlook of attendee
Resolution By
design -
An appointment is created in AX,
and attendees are selected. The organizer synchronizes with Outlook, and the
appointment is found in his Outlook calendar. The attendees get the appointment
in AX, but when synchronizing with Outlook, the appointment is not transferred.
In order to get invitations sent to attendees and attendees' Outlook calendars
updated with the appointment, the organizer must send invitations to attendees
manually from his/her appointment in the Outlook calendar.
Issue 2 COM surrogate error message
Resolution -
add the following line of code to
the end of the synchronizeObjects()
method in the smmOutlookSync class:
}
smmOutlookSync.closeMapiEx(); //Add
return true;
}
ברוכים הבאים - Wellcome
שלום וברוכים הבאים לבלוג שלי ל - Dynamics AX.
בבלוג הזה אני אשתף אתכם בידע שלי במערכת Dynamics AX, אפרסם טיפים וטריקים למפתחים שביננו, וכמובן הענה על שאלות.
פה תוכלו למצוא מענה לכל השאלות הקשורות בגיור מערכת ה - Dynamics AX ואף יותר.
תהנו!
בבלוג הזה אני אשתף אתכם בידע שלי במערכת Dynamics AX, אפרסם טיפים וטריקים למפתחים שביננו, וכמובן הענה על שאלות.
פה תוכלו למצוא מענה לכל השאלות הקשורות בגיור מערכת ה - Dynamics AX ואף יותר.
תהנו!
Hello and welcome to my Dynamics AX blog .
In this blog I will share with you my knowledge in Dynamics AX, I will post tips and tricks for developers among us, and of course answer questions.
Here you will find an answer to all questions related to Dynamics AX Israeli Localization and more.
Enjoy!
Label ID is displayed instead of label text while adding vendor address in AX 2012
In order to resolve the issue you can try two options:
First Option:
1.
delete the bad records from the following tables where it shows the label id instead of the text:
delete from dirnamesequencetranslation where description like '@sys%'
delete from LOGISTICSLOCATIONROLETRANSLATION where description like '@sys%'
delete from LOGISTICSLOCATIONROLE where name like '@sys%'
delete from LOGISTICSADDRESSCOUNTRYREGIONTRANSLATION where longname like '@sys%'
2. restart the AOS to avoid a AOS caching issue when running the next X++ jobs
3. Create an X++ job with the following method calls
SysTranslationData::populateData(resourceStr(LogisticsLocationRoleData));
SysTranslationData::populateData(resourceStr(LogisticsAddressCountryRegionData));
SysTranslationData::populateData(resourceStr(DirNameSequenceData));
Second Option (if the first doesn't work) :
Use the following SQL scripts to address the data issues.DELETE LOGISTICSLOCATIONROLE WHERE NAME LIKE '@SYS%' DELETE LOGISTICSLOCATIONROLETRANSLATION WHERE LOCATIONROLE NOT IN (SELECT RECID FROM LOGISTICSLOCATIONROLE) AND LANGUAGEID = 'en-us' update LOGISTICSLOCATIONROLETRANSLATION set DESCRIPTION = (select name from LOGISTICSLOCATIONROLE where LOGISTICSLOCATIONROLETRANSLATION.LOCATIONROLE = LOGISTICSLOCATIONROLE.RECID) where LANGUAGEID = 'en-us'
Subscribe to:
Posts (Atom)