Any inner exception? If so, any inner exception of that and so on? /Oskar
2010/4/15 Gianluca Gravina <[email protected]>: > Hi everyone, > When testing locally my MVC + NH application everything is working fine, > when I deployed the web app in my Test Environment, the following exception > have been raised. > Can someone help me with this: > "creating a proxy instance failed" > Can be related to "trust" (full / medium) or perhaps to Non signed > assemblies ? > Thanks in advance, any help is really appreciated !!! > Here is the stack trace: > > NHibernate.ByteCode.Castle Stack: at > NHibernate.ByteCode.Castle.ProxyFactory.GetProxy(Object id, > ISessionImplementor session) > > at NHibernate.Tuple.Entity.AbstractEntityTuplizer.CreateProxy(Object id, > ISessionImplementor session) > > at NHibernate.Persister.Entity.AbstractEntityPersister.CreateProxy(Object > id, ISessionImplementor session) > > at > NHibernate.Event.Default.DefaultLoadEventListener.CreateProxyIfNecessary(LoadEvent > event, IEntityPersister persister, EntityKey keyToLoad, LoadType options, > IPersistenceContext persistenceContext) > > at NHibernate.Event.Default.DefaultLoadEventListener.ProxyOrLoad(LoadEvent > event, IEntityPersister persister, EntityKey keyToLoad, LoadType options) > > at NHibernate.Event.Default.DefaultLoadEventListener.OnLoad(LoadEvent event, > LoadType loadType) > > at NHibernate.Impl.SessionImpl.FireLoad(LoadEvent event, LoadType loadType) > > at NHibernate.Impl.SessionImpl.InternalLoad(String entityName, Object id, > Boolean eager, Boolean isNullable) > > at NHibernate.Type.EntityType.ResolveIdentifier(Object id, > ISessionImplementor session) at > NHibernate.Type.EntityType.ResolveIdentifier(Object value, > ISessionImplementor session, Object owner) > > at NHibernate.Engine.TwoPhaseLoad.InitializeEntity(Object entity, Boolean > readOnly, ISessionImplementor session, PreLoadEvent preLoadEvent, > PostLoadEvent postLoadEvent) at > NHibernate.Loader.Loader.InitializeEntitiesAndCollections(IList > hydratedObjects, Object resultSetId, ISessionImplementor session, Boolean > readOnly) > > at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, > QueryParameters queryParameters, Boolean returnProxies > > -- > Gianluca Gravina > http://blogs.ugidotnet.org/thinkingingrava > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
