| 
					
						 Hello all,
 
 I have an ASP.NET problem which does not occur on winforms application.
 Here is my code snippest of my page:
 
     Sub Page_Load(Sender As Object, E As EventArgs)
     Dim cfg As New nhibernate.Cfg.Configuration()
     Dim factory As ISessionFactory=cfg.BuildSessionFactory()
     Dim session As ISession=factory.OpenSession()
     Dim clazz As NHibernate.Mapping.PersistentClass
     Dim typ as System.Type
 
     cfg.AddAssembly("images")
     typ=System.Type.GetType("images.images")
     clazz = cfg.GetClassMapping(typ)
   end sub
 
 When I run this page with the marked line I get:
 Key cannot be null. Parameter name: key
 
 And here are the few first line of the detailed error:
 
 [ArgumentNullException: Key cannot be null.
 Parameter name: key]
    System.Collections.Hashtable.get_Item(Object key) +306
 
  Please help me,
 Ran 
					
  
						
					 |