Unexpected error happenend

This is the rescue page. See the exception details below

NotFoundException

Message:
Could not find Manufacturer with id 0

StackTrace:
   at Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound)
   at Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id)
   at SmartStore.Web.Controllers.Store.ProductsController.ListByManufacturer(Int32 manufacturerId, Int32 page) in D:\projects\SmartStore\SmartStore.Web\Controllers\Store\ProductsController.cs:line 71

Inner exception:
ObjectNotFoundException

Message:
No row with the given identifier exists: 0, of class: SmartStore.Model.Manufacturer

StackTrace:
   at NHibernate.Impl.SessionImpl.Load(Type clazz, Object id)
   at Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound)

powered by Developed by ebizmarts.com