I already did the solution as suggested here in this post: https://community.dynamics.com/ax/f/33/t/190957
However, I'm still getting the error even though the specified folder in the Error log has already been deleted. Here is the Error log:
AX is shutting down due to an error.
Some models have duplicate ids. Models 'CustomModelGlobalAddressBook (C:\Packages\Directory\CustomModelGlobalAddressBook), AX 7 Test Environment (C:\Packages\ApplicationSuite\AX 7 Test Environment)' share id 855991.
Exception details:
Microsoft.Dynamics.AX.Metadata.MetadataCorruptedException: Some models have duplicate ids. Models 'CustomModelGlobalAddressBook (C:\Packages\Directory\CustomModelGlobalAddressBook), AX 7 Test Environment (C:\Packages\ApplicationSuite\AX 7 Test Environment)' share id 855991.
at Microsoft.Dynamics.AX.Metadata.Storage.ErrorReportingHelper.ThrowDuplicateModelIdException(List`1 modelsGroupedByIds, String rootMetadataPath)
at Microsoft.Dynamics.AX.Metadata.Storage.MetadataStorageUtility.ThrowIfModelsShareId(IEnumerable`1 models, String rootMetadataPath)
at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.RuntimeModelManifestProvider.Cache.AllModelsIdToModelNoCache()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeProvider`1.GetPrimaryKeysWithModelInfo()
at Microsoft.Dynamics.AX.Metadata.Storage.ExtensionLoader`1.<Flush>b__1()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Microsoft.Dynamics.AX.Metadata.Storage.ExtensionLoader`1.GetExtensionNames(String name)
at Microsoft.Dynamics.AX.Metadata.Storage.ExtensionLoader`1.GetExtensionsForBaseObject(String baseObjectName)
at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeExtensionProvider`2.ReadNoCache(String name)
at Microsoft.Dynamics.AX.Metadata.Storage.Runtime.SingleKeyedRuntimeProvider`1.Read(String name, MetaReadHeader& readHeader)
at Microsoft.Dynamics.AX.Metadata.Kernel.Accessor.GetTable(String name)
at MetadataBridge.CMetadataProxy.GetTable(Char* name, CAxTable* buf)
at gopts(Int32 , Char** )
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
One more question though, what is the best way to delete a user created model? It seems like deleting the model in the package folder and in the descriptor seems to be incomplete. Is there no official steps on how to do this?