Hi,

here is the inner, now, trying to figure out if there is another inner ...

Thank you !

Unable to obtain public key for StrongNameKeyPair. InnerExMessage: at
System.Reflection.StrongNameKeyPair.nGetPublicKey(Boolean exported, Byte[]
array, String container) at
System.Reflection.StrongNameKeyPair.get_PublicKey() at
System.AppDomain.InternalDefineDynamicAssembly(AssemblyName name,
AssemblyBuilderAccess access, String dir, Evidence evidence, PermissionSet
requiredPermissions, PermissionSet optionalPermissions, PermissionSet
refusedPermissions, StackCrawlMark& stackMark, IEnumerable`1
unsafeAssemblyAttributes) at
System.AppDomain.DefineDynamicAssembly(AssemblyName name,
AssemblyBuilderAccess access) at
Castle.DynamicProxy.ModuleScope.CreateModule(Boolean signStrongName) at
Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithStrongName() at
Castle.DynamicProxy.ModuleScope.ObtainDynamicModule(Boolean isStrongNamed)
at
Castle.DynamicProxy.Generators.Emitters.ClassEmitter.CreateTypeBuilder(ModuleScope
modulescope, String name, Type baseType, IEnumerable`1 interfaces,
TypeAttributes flags, Boolean forceUnsigned) at
Castle.DynamicProxy.Generators.Emitters.ClassEmitter..ctor(ModuleScope
modulescope, String name, Type baseType, IEnumerable`1 interfaces,
TypeAttributes flags, Boolean forceUnsigned) at
Castle.DynamicProxy.Generators.Emitters.ClassEmitter..ctor(ModuleScope
modulescope, String name, Type baseType, IEnumerable`1 interfaces) at
Castle.DynamicProxy.Generators.BaseProxyGenerator.BuildClassEmitter(String
typeName, Type parentType, IEnumerable`1 interfaces) at
Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateType(String name,
Type[] interfaces, INamingScope namingScope) at
Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateCode(Type[]
interfaces, ProxyGenerationOptions options) at
Castle.DynamicProxy.DefaultProxyBuilder.CreateClassProxyType(Type
classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions
options) at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyType(Type
classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions
options) at Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type
classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions
options, Object[] constructorArguments, IInterceptor[] interceptors) at
Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy,
Type[] additionalInterfacesToProxy, ProxyGenerationOptions options,
IInterceptor[] interceptors) at
Castle.DynamicProxy.ProxyGenerator.CreateClassProxy(Type classToProxy,
Type[] additionalInterfacesToProxy, IInterceptor[] interceptors) at
NHibernate.ByteCode.Castle.ProxyFactory.GetProxy(Object id,
ISessionImplementor session)

On Thu, Apr 15, 2010 at 12:00 PM, Oskar Berggren
<[email protected]>wrote:

> 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]<nhusers%[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]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
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.

Reply via email to