0

I am getting the below error when I try to run my first MVC5 application which i am creating for learning purpose:

InnerException : {"Could not load type 'Microsoft.Commerce.Flighting.Common.CatalogIdInfo' from assembly 'Microsoft.Commerce.Flighting.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cde7056ef0bcb0fe'.":"Microsoft.Commerce.Flighting.Common.CatalogIdInfo"}

please bear with me even if there is little information provided as this is my first week in .net and MVC technology.

I have added all the required references. Do let me know for any other details.

Ian Ringrose
  • 51,220
  • 55
  • 213
  • 317
Rishabh
  • 78
  • 7
  • 2
    Runtime wraps exception raised in static constructor inside a TypeInitializationException. The InnerException is the original cause of the problem. Check out the link for more information: http://stackoverflow.com/a/10298278/1688718 – vCillusion Feb 02 '16 at 12:50
  • yeah , I copied inner exception in this case. – Rishabh Feb 02 '16 at 13:00
  • Check the inner exception of the inner exception. Follow the inner exceptions all the way down untill there are no more. – simon at rcl Feb 02 '16 at 14:08
  • Yeah that was the last of it after that inner Exception was null – Rishabh Feb 03 '16 at 04:45
  • 1
    Check the warnings in your build. Many times you'll get errors whose root cause is something mentioned in the warnings. – Gus Feb 03 '16 at 15:42
  • Yes there is indeed a warning stating that reference to type Microsoft.Commerce.Flighting.Common.CatalogIdInfo could not be found from "C:\users\.................." but the main error says that this type was being pulled from Microsoft.Commerce.Flighting.Common assembly. – Rishabh Feb 05 '16 at 04:50

0 Answers0