PageRenderTime 26ms CodeModel.GetById 6ms RepoModel.GetById 1ms app.codeStats 0ms

/WebUI/Web.config

http://asms-md.googlecode.com/
ASP.NET | 119 lines | 118 code | 1 blank | 0 comment | 0 complexity | b0ce031890ee7efd8334b7ca68990aa1 MD5 | raw file
Possible License(s): Apache-2.0, GPL-2.0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
  5. <sectionGroup name="elmah">
  6. <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
  7. <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
  8. <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
  9. <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
  10. </sectionGroup>
  11. </configSections>
  12. <appSettings />
  13. <connectionStrings>
  14. <add name="cs" connectionString="Data Source=.\sqlexpress;Database=asms;UID=sa;pwd=1;Current Language=Romanian;MultipleActiveResultSets=True;" />
  15. </connectionStrings>
  16. <elmah>
  17. <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/logs" />
  18. </elmah>
  19. <log4net>
  20. <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
  21. <file value="logs\Log.txt" />
  22. <appendToFile value="true" />
  23. <rollingStyle value="Date" />
  24. <datePattern value="yyyyMMdd" />
  25. <maxSizeRollBackups value="10" />
  26. <staticLogFileName value="true" />
  27. <maximumFileSize value="2MB" />
  28. <layout type="log4net.Layout.PatternLayout">
  29. <conversionPattern value="%date [%thread] %-5level %logger - %message%newline%newline" />
  30. </layout>
  31. </appender>
  32. <root>
  33. <level value="DEBUG" />
  34. <appender-ref ref="RollingFile" />
  35. </root>
  36. </log4net>
  37. <system.web>
  38. <globalization uiCulture="ro" culture="ro-RO" />
  39. <compilation debug="true" targetFramework="4.0">
  40. <assemblies>
  41. <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  42. <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  43. <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  44. <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  45. <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
  46. <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
  47. <add assembly="Stimulsoft.Report.WebFx, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
  48. <add assembly="Stimulsoft.Report, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
  49. <add assembly="Stimulsoft.Base, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
  50. <add assembly="Stimulsoft.Report.WebSL, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
  51. <add assembly="Stimulsoft.Report.Web, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
  52. </assemblies>
  53. </compilation>
  54. <authentication mode="Forms">
  55. <forms loginUrl="~/Account/LogOn" timeout="2880" />
  56. </authentication>
  57. <membership>
  58. <providers>
  59. <clear />
  60. <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/" />
  61. </providers>
  62. </membership>
  63. <profile>
  64. <providers>
  65. <clear />
  66. <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/" />
  67. </providers>
  68. </profile>
  69. <roleManager enabled="false">
  70. <providers>
  71. <clear />
  72. <add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  73. <add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  74. </providers>
  75. </roleManager>
  76. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
  77. <namespaces>
  78. <add namespace="System.Web.Mvc" />
  79. <add namespace="System.Web.Mvc.Ajax" />
  80. <add namespace="System.Web.Mvc.Html" />
  81. <add namespace="System.Web.Routing" />
  82. <add namespace="MRGSP.ASMS.WebUI" />
  83. <add namespace="MRGSP.ASMS.WebUI.Helpers" />
  84. <add namespace="MRGSP.ASMS.Infra.Dto" />
  85. <add namespace="MRGSP.ASMS.Core" />
  86. <add namespace="MRGSP.ASMS.Core.Model" />
  87. <add namespace="Omu.Awesome.Mvc.Helpers" />
  88. <add namespace="Omu.Awesome.Core" />
  89. </namespaces>
  90. </pages>
  91. <httpModules>
  92. <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
  93. <add name="PerRequestLifestyle" type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor" />
  94. </httpModules>
  95. <httpHandlers>
  96. <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
  97. </httpHandlers>
  98. </system.web>
  99. <system.webServer>
  100. <modules runAllManagedModulesForAllRequests="true">
  101. <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
  102. <add name="PerRequestLifestyle" type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor" />
  103. </modules>
  104. <handlers>
  105. <remove name="UrlRoutingHandler" />
  106. <add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
  107. </handlers>
  108. <validation validateIntegratedModeConfiguration="false" />
  109. </system.webServer>
  110. <runtime>
  111. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  112. <dependentAssembly>
  113. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
  114. <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
  115. </dependentAssembly>
  116. </assemblyBinding>
  117. </runtime>
  118. </configuration>