Hi, I'm doing a project in Nhibernate with MySql in asp.net. In that while executing the code I got the error like "An exception occurred during configuration of persistence layer" in the below line
ISessionFactory factory = new NHibernate.Cfg.Configuration().Configure).BuildSessionFactory();
So let me help to trouble shoot the error.
Here s my Configuration file
NHibernate.Connection.DriverConnectionProvider NHibernate.Driver.MySqlDataDriver Server=localhost;Database=hrms;User ID=test;Password=test; NHibernate.Dialect.MySQL5Dialect true