Active Scotland

tools

 
Home

Active Scotland Partners

  • NHS Health Scotland
  • Healthier Scotland


Unexpected error happenend

This is the rescue page. See the exception details below:

Castle.ActiveRecord.NotFoundException
Message:
Could not find Facility with id 00000000-0000-0000-0000-000000000000
StackTrace:
   at Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound)
   at Castle.ActiveRecord.ActiveRecordMediator.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound)
   at Castle.ActiveRecord.ActiveRecordMediator.FindByPrimaryKey(Type targetType, Object id)
   at ActiveScotland.Core.Utility.Repository`1.Find(Object id) in D:\Development\activescotland\Trunk\ActiveScotland.Core\Utility\Repository.cs:line 203
   at ActiveScotland.Web.Controllers.Shared.PopulateBagServiceProvider(IDictionary propertyBag, String type, Guid id) in D:\Development\activescotland\Trunk\ActiveScotland.Web\Controllers\Shared.cs:line 120
   at ActiveScotland.Web.Controllers.ServiceProviderController.Index(String type, Guid Id) in D:\Development\activescotland\Trunk\ActiveScotland.Web\Controllers\ServiceProviderController.cs:line 19
Inner exception:
NHibernate.ObjectNotFoundException
Message:
No row with the given identifier exists: 00000000-0000-0000-0000-000000000000, of class: ActiveScotland.Core.Domain.ServiceProviders.Facility
StackTrace:
   at NHibernate.ObjectNotFoundException.ThrowIfNull(Object o, Object id, Type clazz)
   at NHibernate.Impl.SessionImpl.Load(Type clazz, Object id)
   at Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound)

Remember this location

The Active Scotland website needs to place a cookie on your machine to remember your location.

The cookie will not record or track anything other than the location you have entered.

More information about cookies (Opens in new window)

Accept Decline