Had to replace 1.2.0.2002 with 1.2.0.4000 of NHibernate.dll. Binding redirect.
<dependentAssembly> <assemblyIdentity name="NHibernate" culture="" publicKeyToken=""/> <bindingRedirect oldVersion="1.2.0.2002" newVersion="1.2.0.4000"/> </dependentAssembly>
