c# - NHibernateIntegration. DataException error -


i have migrated changes of website developed in .net framework 2.0 4.5.1. have been able solve build errors facing run time errors when pass login screen enter login details (as regular or admin user).

this error throws: dataexception unhandled user code: exception of type 'castle.facilities.nhibernateintegration.dataexception' occurred in 'xyz.dll' not handled in user code

additional information: not perform findbyprimarykey securitygroup xml mapping:

<?xml version="1.0" encoding="utf-8" ?>   <!--<!doctype hibernate-mapping public     "-//hibernate/hibernate mapping dtd 3.0//en"     "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">-->   <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">    <class name="xyz.securitygroup, xyz_sharedentities" table="tb_selfservicesecuritygroup">     <id name="securitygroupid" column="securitygroupid">         <generator class="native"/>     </id>     <property name="groupname" column="securitygroupname"/>  </class>   </hibernate-mapping> 

let me know if need more info.

public static securitygroup getsecuritygroup(int securitygroupid)     {         isecurityservice securityservice = (isecurityservice)((xyz.globalhttpapplication)                httpcontext.current.applicationinstance).container["securityservice"];          return securityservice.getsecuritygroup(securitygroupid);     } 


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -