I want to register all the Mappings in my **Business Layer** to **Data Layer**, and **Data Layer** to **Business Layer** classes just as my Business Layer assembly loads. Currently I am using a static class to do this task for me: 

```
public static class AutoMapperBootstrapper
{
    public static void InitMappings()
    {
        Mapper.Initialize(a => a.AddProfile<MyProfile>());
    }
}

```

But each time I make a call with Mapper.Map and the added mappings in the profile, it is still saying Missing Type Mapping Information.

**How I should go about fixing this?**