Do you have other scopes in use? TransactionScopes sometimes create SessionScopes implicitly.
You can also check by comparing to SessionScope.Current, which returns the innermost scope. BTW: How old is that AR? hibernate.* properties aren't supported for more than a year now... -Markus 2009/8/12 Miki Watts <[email protected]> > I'm getting a ScopeMachineryException "Tried to unregister a scope > that is not the active one" in the dispose section of the > sessionscope. I'm not creating or touching the sessionscope in the > application in any other place. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" 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/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
