Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.74 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <!--
  4.   Per ulteriori informazioni sulla configurazione dell'applicazione ASP.NET, visitare
  5.   http://go.microsoft.com/fwlink/?LinkId=169433
  6.   -->
  7.  
  8. <configuration>
  9.  
  10.  
  11.  
  12.     <configSections>
  13.       <section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
  14.     </configSections>
  15.  
  16.     <appSettings>
  17.       <add key="PartialUpdatePanel.EncryptionKey" value="Cas#9sn1" />
  18.       <add key="CKeditor:BasePath" value="~/Admin/Scripts/ckeditor" />
  19.       <add key="UseSmtpWithSSL" value="true" />
  20.      
  21.       <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
  22.       <add key="BBImageHandler" value="EnableClientCache=true;EnableServerCache=true;EnableSecurity=true;EnableSecurityExceptions=true;ImageCompression=90" />
  23.     </appSettings>
  24.  
  25.     <system.web>
  26.         <customErrors mode="Off" />
  27.     </system.web>
  28.  
  29.  
  30.     <system.webServer>
  31.     <validation validateIntegratedModeConfiguration="false" />
  32.     <modules>
  33.       <add name="FixFlashCookies" type="CKFinder.Utils.FixFlashCookiesModule" />
  34.     </modules>
  35.     <handlers>
  36.       <add name="PartialUpdatePanelHandlerHandler" verb="*" path="PartialUpdatePanelLoader.ashx" type="iucon.web.Controls.PartialUpdatePanelHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
  37.       <!--<add name="VirutalPagesHandler" path="/Content/*.aspx" verb="*" type="Channel.Web.VirtualPagesHandleIt" resourceType="Unspecified" preCondition="integratedMode"/>-->
  38.     </handlers>
  39.         <httpErrors errorMode="Detailed" />
  40.   </system.webServer>
  41.  
  42.   <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  43.     <bytecode-provider type="lcg" />
  44.     <reflection-optimizer use="true" />
  45.     <session-factory>
  46.      
  47.       <property name="cache.provider_class">NHibernate.Cache.HashtableCacheProvider, NHibernate</property>
  48.       <property name="cache.use_query_cache">true</property>
  49.       <property name="query.startup_check">false</property>
  50.       <property name="show_sql">false</property>
  51.      
  52.       <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
  53.       <property name="adonet.wrap_result_sets">false</property>
  54.       <property name="connection.isolation">ReadCommitted</property>
  55.       <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
  56.       <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
  57.       <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
  58.       <property name="connection.connection_string">server=localhost;database=ebook;user id=hip_user;password=e1tBNdk</property>
  59.      
  60.     </session-factory>
  61.   </hibernate-configuration>
  62.    
  63. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement