Martin T
unread,Apr 14, 2011, 2:26:25 AM4/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to S#arp Architecture
hi all, i am having a problem when trying to access my local WCF
service from a test client app. i am a complete newcomer to WCF and
sharp architecture, so its quite possible that i am missing something
obvious. :)
anyhow, when i am accessing my WCF service (IIs6) to return a simple
'hello world' message, it works OK. but when i am trying to access a
method that utilises NHibernate I am receiving the following message:
'An ISessionStorage has not been configured' when I am running this
method accessed from my WCF method:
NHibernateSession.Current.Save(listContacts[i]);
(it should be noted here that so far I am not using the SharpArch
repository pattern)
i have NHIbernate all setup and working on the sibling website
project. and the global.asax NHibernate initialisation code looks OK
in my WCF service project (I used the NorthWind sample as a reference
point). Its almost as if the Global class is not being fired. or that
I am picking up the wrong NHibernateSession somehow.
thanks for any help with this