Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The invoked member is not supported in a dynamic assembly.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
acl123  
View profile  
 More options Nov 7 2011, 7:26 pm
From: acl123 <andrewclawre...@gmail.com>
Date: Mon, 7 Nov 2011 16:26:34 -0800 (PST)
Local: Mon, Nov 7 2011 7:26 pm
Subject: The invoked member is not supported in a dynamic assembly.
I am trying to upgrade from NHibernate 2.1.2 to NHibernate 3.1.

Many of my test cases are throwing the following exception when the
session is flushed:

System.NotSupportedException : The invoked member is not supported in
a dynamic assembly

at
System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceStream(St ring
name) at
NHibernate.Validator.Cfg.XmlMappingLoader.AddResource(Assembly
assembly, String resource) at
NHibernate.Validator.Cfg.XmlMappingLoader.GetXmlMappingFor(Type type)
at
NHibernate.Validator.Engine.JITClassMappingFactory.GetExternalDefinitionFor (Type
type) at
NHibernate.Validator.Engine.JITClassMappingFactory.GetClassMapping(Type
clazz, ValidatorMode mode) at
NHibernate.Validator.Engine.ClassValidator.InitValidator(Type clazz,
IDictionary`2 nestedClassValidators) at
NHibernate.Validator.Engine.ClassValidator..ctor(Type clazz,
IConstraintValidatorFactory constraintValidatorFactory, IDictionary`2
childClassValidators, IClassValidatorFactory factory) at
NHibernate.Validator.Engine.StateFullClassValidatorFactory.GetRootValidator (Type
type) at
NHibernate.Validator.Engine.ValidatorEngine.GetClassValidator(Type
entityType) at
NHibernate.Validator.Engine.ValidatorEngine.GetElementOrNew(Type
entityType) at
NHibernate.Validator.Engine.ValidatorEngine.InternalValidate(Object
entity, Object[] activeTags) at
NHibernate.Validator.Engine.ValidatorEngine.Validate(Object entity,
Object[] activeTags) at
NHibernate.Validator.Event.ValidateEventListener.Validate(Object
entity, EntityMode mode) at
NHibernate.Validator.Event.ValidatePreUpdateEventListener.OnPreUpdate(PreUp dateEvent
event) at NHibernate.Action.EntityUpdateAction.PreUpdate() in d:\CSharp
\NH\NH\nhibernate\src\NHibernate\Action\EntityUpdateAction.cs: line
200 at NHibernate.Action.EntityUpdateAction.Execute() in d:\CSharp\NH
\NH\nhibernate\src\NHibernate\Action\EntityUpdateAction.cs: line 58 at
NHibernate.Engine.ActionQueue.Execute(IExecutable executable) in d:
\CSharp\NH\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs: line
136 at NHibernate.Engine.ActionQueue.ExecuteActions(IList list) in d:
\CSharp\NH\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs: line
126 at NHibernate.Engine.ActionQueue.ExecuteActions() in d:\CSharp\NH
\NH\nhibernate\src\NHibernate\Engine\ActionQueue.cs: line 170 at
NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IE ventSource
session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Event\Default
\AbstractFlushingEventListener.cs: line 241 at
NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent
event) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Event\Default
\DefaultFlushEventListener.cs: line 19 at
NHibernate.Impl.SessionImpl.Flush() in d:\CSharp\NH\NH\nhibernate\src
\NHibernate\Impl\SessionImpl.cs: line 1472 at
TestDataAccess.FooTest.TestFoo() in FooTest.cs

Any ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
acl123  
View profile  
 More options Nov 9 2011, 2:29 am
From: acl123 <andrewclawre...@gmail.com>
Date: Tue, 8 Nov 2011 23:29:36 -0800 (PST)
Local: Wed, Nov 9 2011 2:29 am
Subject: Re: The invoked member is not supported in a dynamic assembly.
More info: The problem goes away if I switch to LinFu
ProxyFactoryFactory rather than Castle. However LinFu, gives me other
problems, so I would prefer to use Castle.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
acl123  
View profile  
 More options Nov 13 2011, 9:38 pm
From: acl123 <andrewclawre...@gmail.com>
Date: Sun, 13 Nov 2011 18:38:32 -0800 (PST)
Local: Sun, Nov 13 2011 9:38 pm
Subject: Re: The invoked member is not supported in a dynamic assembly.
More info: The problem also exists for NHibernate 3.2 using
DefaultProxyFactoryFactory.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »