<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <configSections>
    <section name="ApplicationConfiguration" type="D2IE.SystemFramework.ApplicationConfiguration, D2IE.SystemFramework" />
    <section name="WebConfiguration" type="D2IE.Common.WebConfiguration, D2IE.Common" />
  </configSections>
  <appSettings>
    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
  </appSettings>
  <system.web>
    <httpHandlers>
      <add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
    </httpHandlers>
    <pages>
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      </controls>
    </pages>
    <compilation targetFramework="4.0">
      <assemblies>
        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </assemblies>
    </compilation>
    <sessionState timeout="3600" mode="InProc" cookieless="false" />
    <httpRuntime maxRequestLength="2048000" />
  </system.web>
  <ApplicationConfiguration>
    <!-- Trace file settings -->
    <!--

      To enable tracing do the following:
        1. Set the SystemFramework.Tracing.Enabled value to "True"
        2. Be sure the file identified by SystemFramework.Tracing.TraceFile exists, if not create it
        3. Place an ACL on the file allowing full access to [machine name]\ASPNET
        4. Restart IIS

          -->
    <add key="SystemFramework.Tracing.Enabled" value="False" />
    <!-- Set this to the file with the trace settings. -->
    <add key="SystemFramework.Tracing.TraceFile" value="d:\D2IE\Trace.txt" />
    <!-- The TraceLevel for this switch.  -->
    <add key="SystemFramework.Tracing.TraceLevel" value="4" />
    <!-- This switch name. The trace level for this name can be set through
         environment variables or the registry  -->
    <add key="SystemFramework.Tracing.SwitchName" value="WebAppTraceSwitch" />
    <!-- This description of the Tracing.SwitchName switch -->
    <add key="SystemFramework.Tracing.SwitchDescription" value="Error and information tracing for Duwamish" />
    <!-- Event log settings
      Note: The default Duwamish7 event source name is created in the local machine during setup. If you wish to log events to a different event source
          that event source must exist.
          -->
    <add key="SystemFramework.EventLog.Enabled" value="True" />
    <add key="SystemFramework.EventLog.Machine" value="." />
    <add key="SystemFramework.EventLog.SourceName" value="WebApp" />
    <!-- Use the standard TraceLevel values:
         0 = Off
         1 = Error
         2 = Warning
         3 = Info
         4 = Verbose -->
    <add key="SystemFramework.EventLog.LogLevel" value="1" />
  </ApplicationConfiguration>
  <WebConfiguration>
    <!-- Settings specific to the web application -->
    <add key="UsrDataAccess.ConnectionString" value="server=192.168.1.8;User ID=sa;Password=Xxzx2007;database=gsam;Connection Reset=FALSE" />
    <add key="UsrDataAccess.Timeout" value="60" />
    <add key="Web.EnablePageCache" value="True" />
    <add key="Web.PageCacheExpiresInSeconds" value="3600" />
    <add key="Web.EnableSsl" value="False" />
    <add key="Buz.FinanceDay" value="25" />
    <add key="Web.FastReportVer" value="1,3,0,1" />
    <add key="Web.FastReportPath" value="bin" />
    <add key="Web.AdminMail" value="" />
    <add key="Web.EnablePopmenu" value="False" />
  </WebConfiguration>
  <system.webServer>
    <!--<handlers accessPolicy="Read, Execute, Script">
            <remove name="ISAPI-dll" />
            <add name="ISAPI-dll" path="*.dll" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:\Windows\System32\inetsrv\asp.dll" resourceType="File" requireAccess="Execute" allowPathInfo="true" preCondition="bitness64" />
        </handlers>-->
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="ChartImageHandler" />
      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </handlers>
  </system.webServer>
</configuration>