add
var factory =
ActiveRecordMediator.GetSessionFactoryHolder().GetSessionFactory(typeof(AhtActiveRecordBase<>));

somewhere after the initialization wit a break point. Debug the application
and ensure that factory is not null.
-Markus
2009/8/13 Chris Sims <[email protected]>

> Not certain how to do that?
> Sincerely,
> Chris Sims
>
> Success is never final. Failure is never fatal. It is courage that counts.
> - Winston Churchill
>
>
>
> On Wed, Aug 12, 2009 at 11:22 PM, Markus Zywitza <[email protected]
> > wrote:
>
>> Please inspect
>>
>> ActiveRecordMediator.GetSessionFactoryHolder().GetSessionFactory(typeof(AhtActiveRecordBase<>))
>>
>> to ensure that the class was configured correctly in the XML.
>>
>>
>> -Markus
>>
>> 2009/8/12 Chris Sims <[email protected]>
>>
>>> It is on there, I commented out some of the includes for brevity as there
>>> are quiet a few classes to init. I get the same error when I init the whole
>>> assembly.
>>>
>>>  On Aug 12, 2009 11:47 AM, "Markus Zywitza" <[email protected]>
>>> wrote:
>>>
>>> You must include Facility in the ActiveRecordStarter.Initialize(...)
>>>
>>> -Markus
>>>
>>>  2009/8/12 Chris Sims <[email protected]>
>>>
>>> > > > I am writing a program that stores data in one database and
>>> references > a medical records sy...
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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