You may also check if your target framework is not set to .NET 4 Client Profile, if it is try changing it to .NET 4. I got this error when upgrading a project.
Gabriel. On Apr 29, 7:19 am, graphicsxp <[email protected]> wrote: > Humm...yes, you are right, this error message is obsolete. > > My website is in .net 4.0, but my DAL project is still in .net 3.5 > because I didn't want to fix all the errors related to the new ISet > interface being ambitious with the IESI ISet. Maybe I should change > that project to use .net 4.0 as well, that's probably the source of my > problem > > thanks > > On Apr 29, 9:06 am, Robert Rudduck <[email protected]> wrote: > > > > > > > Are you sure you are in 4.0 or have 4.0 installed on the machine its > > running? > > > According > > tohttp://msdn.microsoft.com/en-us/library/system.executionengineexcepti... > > 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 sitewww.baseestate.comhas > > > 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 > > athttp://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 > athttp://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.
