Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Error building dataentities - dynamics://Class/__Persister__/Method/foreignKeyPropagation_DS2

Posted on by 300

I've amended a few data entities and whenever I build the solution I get the below error. Same error occurs if I rebuild the models

dynamics://Class/__Persister__/Method/foreignKeyPropagation_DS2(42,12): InvalidOperationBetweenTypes: Operator '!=' cannot be applied to operands of type 'str' and 'int64'.
dynamics://Class/__Persister__/Method/foreignKeyPropagation_DS2(44,13): ImplicitConversionNotAllowed: Cannot implicitly convert from type 'int64' to type 'str'

I've no idea where to look to try and fix these errors

Any ideas?

  • richierich79 Profile Picture
    richierich79 300 on at
    RE: Error building dataentities - dynamics://Class/__Persister__/Method/foreignKeyPropagation_DS2

    Ended deleting new entities I had created until the error disappeared as a crude way of debugging.

    Entity causing this issue has around 6 joins...I imagine it was one of those causing the issue. Will be rebuilding it later to see if I can narrow it down.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans