AutoMapperConfigurationException: AutoMapper throwing exception without showing property name
<p>I am creating POC using Asp.Net Web API. For mapping one object type to another i am using AutoMapper(v5.1.1). Here are the types which is being used for mapping:</p>

<pre><code>//Entity
public class Goal : IVersionedEntity
    {
        public virtual int GoalId { get; set; }
        public virtual string Title { get; set; }
        public virtual string Description { get; set; }
        public virtual DateTime StartDate { get; set; }
        public virtual DateTime EndDate { get; set; }
        public virtual string Reward { get; set; }
        public virtual DateTime? DisabledDate { get; set; }
        public virtual byte[] Version { get; set; }
        public virtual User User { get; set; }
        public virtual ICollection&lt;Schedule&gt; Schedules { get; set; }
    }
//Model
public class Goal
    {
        private List&lt;Link&gt; _links;
        public int GoalId { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        //public Status Status { get; set; }
        public string Reward { get; set; }
        public DateTime? DisabledDate { get; set; }
        public User User { get; set; }
        public ICollection&lt;Schedule&gt; Schedules { get; set; }
        public List&lt;Link&gt; Links
        {
            get { return _links ?? (_links = new List&lt;Link&gt;()); }
            set { _links = value; }
        }
        public void AddLink(Link link)
        {
            _links.Add(link);
        }

    }
</code></pre>

<p>I am mapping Goal Entity to Goal model type object as following:</p>

<pre><code>public async System.Threading.Tasks.Task Configure()
        {
            Mapper.Initialize(cfg =&gt; cfg.CreateMap&lt;Data.Entities.Goal, Models.Goal&gt;()
            .ForMember(m =&gt; m.Links, i =&gt; i.Ignore()));
        }
</code></pre>

<p>and here is the 'AutoMapperConfigurator' class in 'App_Start':</p>

<pre><code>public void Configure(IEnumerable&lt;IAutoMapperTypeConfigurator&gt; autoMapperTypeConfigurations)
        {
            autoMapperTypeConfigurations.ToList().ForEach(m =&gt; m.Configure());
            Mapper.AssertConfigurationIsValid();
        }
</code></pre>

<p>But it is throwing following exception:</p>

<blockquote>
  <p>The following property on TestApp.Web.Api.Models.Goal cannot be
  mapped:    Add a custom mapping expression, ignore, add a custom
  resolver, or modify the destination type TestApp.Web.Api.Models.Goal.
  Context:  Mapping from type TestApp.Data.Entities.Goal to
  TestApp.Web.Api.Models.Goal Exception of type
  'AutoMapper.AutoMapperConfigurationException' was thrown.</p>
</blockquote>

<p>See it's not showing which property is not getting mapped.
Any help for this isssue.</p>