Friday, March 12, 2010

NHibernate + IIS6 / IIS7 Hosting Configrations in web.config

We came across a situation where our Web Application updates  the SQL2k5 DB when hosted in IIS6, But does not update when it is hosted in IIS7. After some research we realized the problem was with the modules  and how IIS6 and IIS7 handles the modules mentioned within web.config. Here I share with you how we got the application up and running with some configuration changes.



If you are hosting in IIS6 you should uncomment following,


If you are hosting in IIS7 you should uncomment the following,
Cheers!

1 comment: