Hello!

I upgraded the AR 1.0 to the AR version 2.0 and after of install and
upgrade the system, when I go to run it shows me the following error:

Initializing[CRMModel.Model.CrmProspect#1]-failed to lazily initialize
a collection of role: CRMModel.Model.CrmProspect.contatoRealizado, no
session or session was closed

In version 1.0 this error also occurred, but after put the line below:
<httpModules>
    <add name="ar.sessionscope"
type="Castle.ActiveRecord.Framework.SessionScopeWebModule,
Castle.ActiveRecord"/>
</httpModules>

After setting this line in the web.config the error didn't happen
anymore.
Does anyone have any tip?
Thanks attention!
Maia

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

Reply via email to