web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

I have a compile Exception when I build project

(0) ShareShare
ReportReport
Posted on by 10

Severity Code Description Project File Line Suppression State Error Abnormal termination with unhandled exception. Exception key: 2d0c1ed0-2acd-4dff-9049-a3d59706f2aa. Microsoft.Dynamics.AX.Metadata.Core.Exceptions.DuplicateNamedObjectException: Element named: 'CHINTSalesGroup' of type 'AxQuerySimpleDataSourceField' already exists among elements: 'Address, Apartment_RU, Building_RU, BuildingCompliment, City, CountryCurrencyCode, CountryRegionId, County, District, DistrictName, FlatId_RU, HouseId_RU, ISOcode, IsPrivate, Latitude, Location, LocationName, Longitude, Partition, PostalAddress, PostalAddressRecId, PostBox, RecId, recVersion, State, Street, StreetId_RU, StreetNumber, TimeZone, ValidFrom, ValidTo, ZipCode, IsPrivate1, PrivateForParty, RecId1, recVersion1, _RecId_LogisticsPostalAddress, _recVersion_LogisticsPostalAddress, CHINTSalesGroup'. Parameter name: item at Microsoft.Dynamics.AX.Metadata.Core.Collections.KeyedObjectCollection`1.ThrowOnDuplicate(T item) at Microsoft.Dynamics.AX.Metadata.Core.Collections.KeyedObjectCollection`1.Add(T item) at Microsoft.Dynamics.AX.Metadata.MetaModel.AxQuerySimple.AddExtensionDataSourceFields(AxQuerySimpleExtension extension, Dictionary`2 dataSourceLookup, IDictionary`2 extensionNameMap, IList`1 applyErrors) at Microsoft.Dynamics.AX.Metadata.MetaModel.AxQuerySimple.ApplyExtension(AxQuerySimpleExtension querySimpleExtension, IList`1 applyErrors, IDictionary`2 extensionNameMap) at Microsoft.Dynamics.AX.Metadata.Storage.Extension.ExtensionMethods.ReadQueryWithExtensions(IMetadataProvider metadataProvider, String queryName, QuerySimpleExtensionLoader querySimpleExtensionLoader, IList`1 applyErrors) at Microsoft.Dynamics.AX.Framework.Xlnt.XppParser.Pass2.MetadataReaderUtilities.ResolveBaseQuery(AxQuerySimple simpleQuery, String queryName, AxDataEntity view, IRootNamedObject rootObjectForError, IXppcMetadataProvider metadataProvider, IDiagnosticSink diagnosticSink, Boolean preventEmptyQuery) at Microsoft.Dynamics.A

but my project haven't the CHINTSalesGroup and I do not add any query about this to my project.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,817 Most Valuable Professional on at

    I would start by recompiling custom models. If it doesn't help, I would check where CHINTSalesGroup is used.

  • Cloud Wang Profile Picture
    10 on at

    recompiling custom models doesn't help. I find where is used CHINTSalesGroup,that project

    is also throw the exception which my question describe.

  • Cloud Wang Profile Picture
    10 on at

    It‘s a view extension and I saw it can't load view metadata. what should I do?

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Error seems to be some duplication of a field starting with chint. And the fields seems to be from LogisticsPostalAddress. So can you give a find reference on this table and check in which queries it is used and check where this field is present. As we donot have this field directly try with find reference with related tables where you can see these fields. Once you find you can delete that field. If you cannot find in vs, then go to SSMS and give an SQL query in SSMS and try finding the field there. I believe it should be in LogisticsPostalAddress or logistics location extensions.

    Also you can see your custom model and check in all tables where the extensions are created.

  • Martin Dráb Profile Picture
    237,817 Most Valuable Professional on at

    You said you recompiled custom models, but not with which result. Did it succeed or did you get the same error when compiling a model?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans