Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Running the default connector map "NAV Customer Card to Account", results in "Exception occurred in Microsoft Dynamics NAV". Checking the application logs reveals the following errors:
Exception occurred in Microsoft Dynamics NAV --- Exception Dump --- Caught Exception: [Microsoft.Dynamics.Integration.AdapterAbstractionLayer.AdapterException] Exception occurred in Microsoft Dynamics NAV Stack trace: at Microsoft.Dynamics.Integration.Adapters.Nav2009.NavObjectProvider.ReadObjectKeys(DateTime modifiedDate) at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.ReadObjectKeyList(DbMap map, DateTime queryDate, Int32& count) at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.ProcessRecordsImplementation(OperationType operationType) Inner Exception: [System.NullReferenceException] Object reference not set to an instance of an object. Stack trace: at Microsoft.Dynamics.Integration.Adapters.Nav2009.CustomerObjectProvider.ReadDynamicObjectKeys(DateTime modifiedDate) at Microsoft.Dynamics.Integration.Adapters.Nav2009.NavObjectProvider.ReadObjectKeys(DateTime modifiedDate)
Any ideas on how to troubleshoot this further? Other maps complete without errors.
goto to form "marketing setup", tab "Synchronisation" and disable and enable the "Enable Connector" checkbox. that reruns the integration configuration. then try again.
Just done that, still get the following:
check the mapping for the field modifiedDate.
seems to be a problem with that.
There is a "Modified On" field which is not mapped. Is this the field you mean?
did you follow the install guide?
have you installed the required hotfixes for nav 2009?
1. Microsoft Dynamics NAV 2009 R2 with KB 2597312 applied.
2. Microsoft Dynamics NAV 2009 R2 with KB 2721512 applied.
is that the complete stacktrace?
if not, please publish the complete exception list.
have you made any changes to the customer card?
please publish the list of the integration records.
That is the complete exert from the application logs.
How can I view the Integration records?
i did some research. result: it seems to be a problem with some customer records, maybe with wrong/missing option values.
but also can be a problem with the integration records, which have to do with table customer (more than one, ...).
to view the integration records: open table 5151 directly from the dev.env.
I can see table 5151 which is populated with various information.
Must be a good 5000 records.
first open table 5150 integration page and filter for Servicename = *Customer*
do you get more than 1 records? you should get at least a record with Page-ID = 21.
then open table 5151 and filter for Page-ID = 21. delete the records and rerun the integration job (marketing setup: disable and then re-enable the checkbox "enable connector). sometimes that helps.
Sadly this has made no difference.
post your question to the crm forum too. there a couple of threads about the connector topic.
have you installed an earlier version of the connector before using that version?
if yes, did you correct uninstall the old version and after that install the new version. once i had troubles with upgrading. i solved it with a clean uninstall, remove all userdata folders/files of the connector, removed the connector databases, restarted the server(s) and after that installed the new version of the connector.
maybe this could be a way to do for you.
try to use the newest version of dynamics connector.
for download follow moxie4nav.wordpress.com/.../dynamics-connector-for-nav-vs-3-4-is-released
make a complete uninstall/deletion of the old connector. also remove the existing databases, folder, config files, files in the user folder, ...
Business Applications communities