<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="ApplicationConfiguration" type="Duwamish7.SystemFramework.ApplicationConfiguration, Duwamish7.SystemFramework" />
<section name="DuwamishConfiguration" type="Duwamish7.Common.DuwamishConfiguration, Duwamish7.Common" />
<section name="SourceViewer" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
<system.web>
<customErrors defaultRedirect="errorpage.aspx" mode="On" />
<compilation debug="true" />
<!-- The sessionState is currently set to inproc: the lines following [mode="inproc"] are not used but are present for ease of configuration -->
<sessionState cookieless="false" timeout="20" mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" />
<globalization responseEncoding="utf-8" requestEncoding="utf-8" />
<!-- security -->
<authentication mode="Forms">
<forms name=".ADUAUTH" loginUrl="secure\logon.aspx" protection="All">
</forms>
</authentication>
<authorization>
<allow users="*" />
</authorization>
</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="E:\下载\Duwamish7.0C VB.NET\Duwamish 7.0(C# 版和 VB.NET 版)\Duwamish7_CS\.\DuwamishTrace.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="DuwamishTraceSwitch" />
<!-- 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="Duwamish7" />
<!-- Use the standard TraceLevel values:
0 = Off
1 = Error
2 = Warning
3 = Info
4 = Verbose -->
<add key="SystemFramework.EventLog.LogLevel" value="1" />
</ApplicationConfiguration>
<DuwamishConfiguration>
<!-- Settings specific to the Duwamish application -->
<add key="Duwamish.DataAccess.ConnectionString" value="server=DZSRJB-WT;User ID=Duwamish7_login;Password=password_83475256BD7E67AC9CA9;database=Duwamish7;Connection Reset=FALSE" />
<add key="Duwamish.Web.EnablePageCache" value="True" />
<add key="Duwamish.Web.PageCacheExpiresInSeconds" value="3600" />
<add key="Duwamish.Web.EnableSsl" value="False" />
</DuwamishConfiguration>
<SourceViewer>
<!-- Valid directories for source browsing. Keep these lower case. -->
<add key="." value=" " />
<add key="modules" value=" " />
<add key="..\common\data" value=" " />
<add key="..\systemframework" value=" " />
<add key="..\business\facade" value=" " />
<add key="..\business\rules" value=" " />
<add key="..\dataaccess" value=" " />
<add key="secure" value=" " />
<add key="docs\common" value=" " />
<add key="docs\dataaccess" value=" " />
<add key="docs\facade" value=" " />
<add key="docs\rules" value=" " />
<add key="docs\web" value=" " />
</SourceViewer>
</configuration>
<configuration>
<system.web>
<compilation debug="true">
<assemblies>
<add assembly="COMAdmin" />
<add assembly="FMStocks7.DAL" />
</assemblies>
</compilation>
<pages enableViewState="false" autoEventWireup="false" />
<trace enabled="false" requestLimit="1" pageOutput="true" />
<globalization responseEncoding="utf-8" requestEncoding="utf-8" />
<!-- Turn off session state -->
<sessionState mode="Off" />
<!-- Setup the application to use forms-based cookie authentication -->
<authentication mode="Forms">
<forms name="FMStocks7Auth" loginUrl="Login.aspx">
</forms>
</authentication>
<customErrors defaultRedirect="error.aspx" mode="On">
<error statusCode="404" redirect="error404.aspx" />
</customErrors>
</system.web>
<!-- Mark the BuyStock.aspx page as available only to authorized users -->
<location path="BuyStock.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the AccountSummary.aspx page as available only to authorized users -->
<location path="AccountSummary.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the Home.aspx page as available only to authorized users -->
<location path="Home.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the Invest.aspx page as available only to authorized users -->
<location path="Invest.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the News.aspx page as available only to authorized users -->
<location path="News.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the Portfolio.aspx page as available only to authorized users -->
<location path="Portfolio.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the SellStock.aspx page as available only to authorized users -->
<location path="SellStock.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the TickerDetail.aspx page as available only to authorized users -->
<location path="TickerDetail.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<!-- Mark the TickerList.aspx page as available only to authorized users -->
<location path="TickerList.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<appSettings>
<add key="FMStocks7.DAL.DALConnection" value="Data Source=localhost;User Id=FMStocks7_login;Password=password_9289CCA4D7C4AA2EFE41;Initial Catalog=FMStocks7;" />
</appSettings>
</configuration>