NHibernate的问题
Aleda 2008-11-21 10:03:54 type is not a ValueTypeType
参数名: type
行 39: sessions = cfg.BuildSessionFactory();
[ArgumentException: type is not a ValueTypeType
参数名: type]
NHibernate.Id.TableGenerator.Configure(IType type, IDictionary parms, Dialect dialect) +772
NHibernate.Id.TableHiLoGenerator.Configure(IType type, IDictionary parms, Dialect dialect) +25
NHibernate.Id.IdentifierGeneratorFactory.Create(String strategy, IType type, IDictionary parms, Dialect dialect) +289
[MappingException: could not instantiate id generator for strategy 'native']
NHibernate.Id.IdentifierGeneratorFactory.Create(String strategy, IType type, IDictionary parms, Dialect dialect) +366
NHibernate.Mapping.SimpleValue.CreateIdentifierGenerator(Dialect dialect) +34
NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings) +805
NHibernate.Cfg.Configuration.BuildSessionFactory() +65
Common.SessionFactory.BuildSessionFactory(String AssemblyName) in E:\working\ouxin\Common\SessionFactory.cs:39
Common.SessionFactory.OpenSession(String AssemblyName) in E:\working\ouxin\Common\SessionFactory.cs:26
Common.EntityControl.GetEntity(String table, String idFieldName, String id) in E:\working\ouxin\Common\EntityControl.cs:95
DAL.UserTableDAL.GetByUserName(String userName) in E:\working\ouxin\DAL\UserTableDAL.cs:44
BLL.UserTableBLL.GetByUserName(String userName) in E:\working\ouxin\BLL\UserTableBLL.cs:57
Ouxin.Default.btnLogin_Command(Object sender, EventArgs e) in e:\working\ouxin\web\Default.aspx.cs:31
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
这个是什么问题,在网上没找到相关的资料