/WebUI/Web.config
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
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
- <sectionGroup name="elmah">
- <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
- <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
- <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
- <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
- </sectionGroup>
- </configSections>
- <appSettings />
- <connectionStrings>
- <add name="cs" connectionString="Data Source=.\sqlexpress;Database=asms;UID=sa;pwd=1;Current Language=Romanian;MultipleActiveResultSets=True;" />
- </connectionStrings>
- <elmah>
- <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/logs" />
- </elmah>
- <log4net>
- <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
- <file value="logs\Log.txt" />
- <appendToFile value="true" />
- <rollingStyle value="Date" />
- <datePattern value="yyyyMMdd" />
- <maxSizeRollBackups value="10" />
- <staticLogFileName value="true" />
- <maximumFileSize value="2MB" />
- <layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%date [%thread] %-5level %logger - %message%newline%newline" />
- </layout>
- </appender>
- <root>
- <level value="DEBUG" />
- <appender-ref ref="RollingFile" />
- </root>
- </log4net>
- <system.web>
- <globalization uiCulture="ro" culture="ro-RO" />
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
- <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
- <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
- <add assembly="Stimulsoft.Report.WebFx, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
- <add assembly="Stimulsoft.Report, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
- <add assembly="Stimulsoft.Base, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
- <add assembly="Stimulsoft.Report.WebSL, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
- <add assembly="Stimulsoft.Report.Web, Version=2010.3.900.0, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" />
- </assemblies>
- </compilation>
- <authentication mode="Forms">
- <forms loginUrl="~/Account/LogOn" timeout="2880" />
- </authentication>
- <membership>
- <providers>
- <clear />
- <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="/" />
- </providers>
- </membership>
- <profile>
- <providers>
- <clear />
- <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/" />
- </providers>
- </profile>
- <roleManager enabled="false">
- <providers>
- <clear />
- <add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- <add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
- </providers>
- </roleManager>
- <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
- <namespaces>
- <add namespace="System.Web.Mvc" />
- <add namespace="System.Web.Mvc.Ajax" />
- <add namespace="System.Web.Mvc.Html" />
- <add namespace="System.Web.Routing" />
- <add namespace="MRGSP.ASMS.WebUI" />
- <add namespace="MRGSP.ASMS.WebUI.Helpers" />
- <add namespace="MRGSP.ASMS.Infra.Dto" />
- <add namespace="MRGSP.ASMS.Core" />
- <add namespace="MRGSP.ASMS.Core.Model" />
- <add namespace="Omu.Awesome.Mvc.Helpers" />
- <add namespace="Omu.Awesome.Core" />
- </namespaces>
- </pages>
- <httpModules>
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
- <add name="PerRequestLifestyle" type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor" />
- </httpModules>
- <httpHandlers>
- <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
- </httpHandlers>
- </system.web>
-
- <system.webServer>
- <modules runAllManagedModulesForAllRequests="true">
- <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
- <add name="PerRequestLifestyle" type="Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule, Castle.Windsor" />
- </modules>
- <handlers>
- <remove name="UrlRoutingHandler" />
- <add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
- </handlers>
- <validation validateIntegratedModeConfiguration="false" />
- </system.webServer>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
- <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>