Are you sure you are in 4.0 or have 4.0 installed on the machine its
running?

According to
http://msdn.microsoft.com/en-us/library/system.executionengineexception.aspx
that
exception is no longer thrown by the runtime in 4.0.

- Robert

On Wed, Apr 28, 2010 at 5:23 PM, Craig van Nieuwkerk <[email protected]>wrote:

> I am not sure of your error, but my web site www.baseestate.com has
> been upgraded to .NET4 and is using NHibernate with no problems.
>
> Craig.
>
> On Thu, Apr 29, 2010 at 4:10 AM, graphicsxp <[email protected]>
> wrote:
> > Hi,
> >
> > I've upgraded my .net 3.5 project to .net 4.0. All is fine at compile
> > time but I get a runtime exception when calling
> > _sessionFactory.GetCurrentSession().BeginTransaction().
> >
> > {"Exception of type 'System.ExecutionEngineException' was thrown."}
> >
> > There is no other information. No stack, no inner exception. Very
> > frustrating.
> >
> > Has someone got an idea what could go wrong with NH and .Net 4.0 ?
> >
> > Thanks
> >
> > --
> > 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.
>
>

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