The following error occurred:

The type initializer for 'StatePortal.PersistenceModel.SessionManagement.NHibernateManager' threw an exception.