I downloaded the source for NHibernateIntegration from (
https://github.com/mahara/Castle.Facilities.NHibernateIntegration)

I added reference for Castle.Core (3.3.0.0), Castle.Services.Transaction 
(3.3.0.0), Castle.Windsor (3.3.0.0), NHibernate (4.0.0.4000) and I built 
the application to generate the Castle.Facilities.NHibernateIntegration.dll

But after the upgrading NHibernateIntegration.dll in my application I am 
getting the following error,

*An ISessionFactory component was not mapped for the specified alias: 
AliasName*

On Monday, 30 June 2014 18:58:24 UTC+8, Samuel wrote:
>
> I guess that I going to this way. Thank you guys.
>
>
> On Fri, Jun 27, 2014 at 5:15 PM, Martijn Boland <[email protected] 
> <javascript:>> wrote:
>
>> A few months ago I was in the same situation. Tried to upgrade to the 
>> newer Castle.Facilities.NHibernate facility, but I found I had quite a lot 
>> of old infrastructural code depending on the old Castle libs that wasn't 
>> compatible (by far) with the newer libs.
>>
>> Found Maximilian's fork (
>> https://github.com/mahara/Castle.Facilities.NHibernateIntegration), 
>> build that locally and now I use Castle.Facilities.AutoTx.dll, 
>> Castle.Facilities.NHibernateIntegration.dll, 
>> Castle.Services.Transaction.dll from his fork together with the latest and 
>> greatest NHibernate and Castle.Core libs from NuGet. 
>>
>> Works like a charm and almost no code changes were required, so I think 
>> that's the way to go. In 
>> https://github.com/martijnboland/cuyahoga-1/tree/master/lib you can find 
>> the assemblies if you don't like to fork and build yourself.
>>
>>
>> On Fri, Jun 27, 2014 at 8:41 PM, Samuel Pereira <[email protected] 
>> <javascript:>> wrote:
>>
>>> Thank you Maximilian!
>>>
>>> I have unit/integration/automated. That makes it a bit easier. 
>>> In all project the session is provided by 
>>> sessionMananger(NHibernateIntegration) and I use too "Transaction 
>>> facility". Do you have some suggestion for continue with transaction and 
>>> some strategy closer this for using NHibernate 3.3*?
>>>
>>>
>>> On Fri, Jun 27, 2014 at 6:43 AM, Maximilian Haru Raditya <
>>> [email protected] <javascript:>> wrote:
>>>
>>>> Whoa... this is an old thread! :D
>>>>
>>>> For me, it's better to stay up-to-date to minimize the upgrade cost. 
>>>> But then, it really depends on your needs and circumstances. You need to 
>>>> assess them yourself whether such upgrade is a viable option.
>>>>
>>>> The best way to upgrade them is by firstly reading their release notes 
>>>> to see whether there are breaking changes introduced by newer versions of 
>>>> these libraries that could affect your projects/apps. After that, test the 
>>>> waters to see whether it works by upgrading them one by one and making 
>>>> necessary adjustments based on any feedback you got while upgrading them. 
>>>> Also, it would be easier and better if you had unit/integration/automated 
>>>> tests to run for testing the upgrades.
>>>>
>>>> Good luck! :)
>>>>
>>>>
>>>>
>>>> On Wed, Jun 25, 2014 at 9:50 AM, Samuel Pereira <[email protected] 
>>>> <javascript:>> wrote:
>>>>
>>>>> Hi Maximilian,
>>>>>  
>>>>> I have many projects with Castla/Nhibernate 3.1 . So I need to 
>>>>> nhibernate 3.3, what you suggest?
>>>>>
>>>>> Do you know if is there a new way of work with castle 3.* and 
>>>>> nhibernate 3.3*?
>>>>>
>>>>> I appreciate any help!!
>>>>>
>>>>>
>>>>> On Tue, Feb 26, 2013 at 6:11 AM, Maximilian Raditya <[email protected] 
>>>>> <javascript:>> wrote:
>>>>>
>>>>>> Well, I finally solve it by forking and upgrading it by myself... :D
>>>>>> See my own fork of it here:
>>>>>>
>>>>>> https://github.com/mahara/Castle.Facilities.NHibernateIntegration
>>>>>>  
>>>>>> I just upgraded it to use the latest the Castle.Core and 
>>>>>> Castle.Windsor 3.2.0. It also uses NHibernate 3.3.2 GA. And it supports 
>>>>>> .NET 3.5, 4.0, and 4.5 using the latest Castle bits.
>>>>>> All previous tests pass. But I guarantee nothing, nor it's something 
>>>>>> official.
>>>>>> Try it yourself whether it'd work for you. So far, it works just fine 
>>>>>> for me.
>>>>>>  
>>>>>> But if, strictly speaking, about how to solve it by yourself, there 
>>>>>> are some APIs changes in NHibernate between version 3.0.x and 3.2.x 
>>>>>> IIRC. 
>>>>>> Just see my commits for such details there.
>>>>>> I even completely forgot what did I do when upgrading it to use the 
>>>>>> latest NHibernate version... LOL
>>>>>>  
>>>>>>  
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 19, 2013 at 9:59 PM, Mauro Cecili <[email protected] 
>>>>>> <javascript:>> wrote:
>>>>>>
>>>>>>> I ave your same problem?
>>>>>>> How do yo solved it?
>>>>>>> In my references i use NHibernate 3.2.0.2001 
>>>>>>> and astle.Facilities.NHibernateIntegration 1.1.0.39
>>>>>>> but where i add the last one in visual studio in object ispector 
>>>>>>> version value is 1.1.0.0
>>>>>>>
>>>>>>> When i run i have an error : 1.1.0.39 not found
>>>>>>> if i force binding in web.config to 1.1.0.0
>>>>>>> i have an error when Nh Open Session: 'QueryOver' method 
>>>>>>> 'Castle.Facilities.NHibernateIntegration.SessionDelegate' not 
>>>>>>> implemented
>>>>>>>
>>>>>>> Any suggest?
>>>>>>>
>>>>>>> Il giorno giovedì 9 giugno 2011 12:03:47 UTC+2, Dan B ha scritto:
>>>>>>>>
>>>>>>>> I was trying to use NHibernate 3.2.0.2001 - I just added in the 
>>>>>>>> missing methods and it works great, thanks. 
>>>>>>>>
>>>>>>>>  
>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Regards,
>>>>>>
>>>>>> Maximilian Haru Raditya 
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Castle Project Users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected] 
>>>>>> <javascript:>.
>>>>>> To post to this group, send email to [email protected] 
>>>>>> <javascript:>.
>>>>>> Visit this group at 
>>>>>> http://groups.google.com/group/castle-project-users?hl=en.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>  
>>>>>>  
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Regards,
>>>>>  
>>>>> *Samuel Pereira *
>>>>> Senior Systems Analyst
>>>>>  
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Castle Project Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected] 
>>>>> <javascript:>.
>>>>> To post to this group, send email to [email protected] 
>>>>> <javascript:>.
>>>>> Visit this group at 
>>>>> http://groups.google.com/group/castle-project-users.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Regards,
>>>>
>>>> Maximilian Haru Raditya
>>>>  
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Castle Project Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] 
>>>> <javascript:>.
>>>> To post to this group, send email to [email protected] 
>>>> <javascript:>.
>>>> Visit this group at http://groups.google.com/group/castle-project-users
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Regards,
>>>  
>>> *Samuel Pereira *
>>> Senior Systems Analyst
>>>  
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Castle Project Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] 
>>> <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> Visit this group at http://groups.google.com/group/castle-project-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Castle Project Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/castle-project-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards,
>  
> *Samuel Pereira *
> Senior Systems Analyst
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to