I am trying to deploy my application under sub domain (virtual
directory) of my root application.
1) Root application there is following nhibernate section in
web.config
<configSections>
<section name="nhibernate"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/
>
</configSections>
<nhibernate>
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.dialect" value="NHibernate.Dialect.OracleDialect"/
>
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.OracleDataClientDriver"></add>
<add key="hibernate.connection.connection_string" value="Data
Source=ora11g;User ID=test123;Password=test123;"/>
</nhibernate>
2) My current application which I want to configer under root
application have following ActiveWriter Section
<configSections>
<section name="activeRecord"
type="Castle.ActiveRecord.Framework.Config.ActiveRecordSectionHandler,Castle.ActiveRecord"/
>
</configSections>
<activeRecord isWeb="true">
<config>
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider"/>
<add key="hibernate.dialect"
value="NHibernate.Dialect.OracleDialect"/>
<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.OracleClientDriver"></add>
<add key="hibernate.connection.connection_string" value="Data
Source=ora11g;User ID=test123;Password=test123;"/>
</config>
</activeRecord>
I do not know exactly but because of web.confing inheritance of root
application may create this kind of error.
??????????????????