Web.Config
5.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="ApplicationConfiguration" type="SysFramework.ApplicationConfiguration, SysFramework"/>
<section name="MyCMMIConfiguration" type="Comm.Configuration, Comm"/>
</configSections>
<appSettings/>
<connectionStrings/>
<system.web>
<compilation defaultLanguage="c#" debug="true" targetFramework="4.0">
<compilers>
<compiler language="c#" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".cs" compilerOptions="/d:DEBUG;TRACE"/>
</compilers>
<assemblies>
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.DirectoryServices, 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="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<customErrors mode="RemoteOnly"/>
<!-- 身份验证
此节设置应用程序的身份验证策略。可能的模式是“Windows”、“Forms”、
“Passport”和“None”
-->
<!-- 应用程序级别跟踪记录
应用程序级别跟踪在应用程序内为每一页启用跟踪日志输出。
设置 trace enabled="true" 以启用应用程序跟踪记录。如果 pageOutput="true",则
跟踪信息将显示在每一页的底部。否则,可以通过从 Web 应用程序
根浏览 "trace.axd" 页来查看
应用程序跟踪日志。
-->
<trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>
<!-- 会话状态设置
默认情况下,ASP.NET 使用 cookie 标识哪些请求属于特定的会话。
如果 cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。
若要禁用 cookie,请设置 sessionState cookieless="true"。
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="2000"/>
<!-- 全球化
此节设置应用程序的全球化设置。
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<xhtmlConformance mode="Legacy"/>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
</system.web>
<ApplicationConfiguration>
<!-- Trace file settings -->
<add key="SysFramework.Tracing.Enabled" value="true"/>
<!-- Set this to the file with the trace settings. This file should be relative
to the root application directory. -->
<add key="SysFramework.Tracing.TraceFile" value="DuwamishTrace.txt"/>
<!-- The TraceLevel for this switch. -->
<add key="SysFramework.Tracing.TraceLevel" value="4"/>
<!-- This switch name. The trace level for this name can be set through
environment variables or the registry -->
<add key="SysFramework.Tracing.SwitchName" value="DuwamishTraceSwitch"/>
<!-- This description of the Tracing.SwitchName switch -->
<add key="SysFramework.Tracing.SwitchDescription" value="Error and information tracing for Duwamish"/>
<!-- Event log settings
Note: The default Escalade 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="SysFramework.EventLog.Enabled" value="True"/>
<add key="SysFramework.EventLog.Machine" value="."/>
<add key="SysFramework.EventLog.SourceName" value="MyCMMI"/>
<!-- Use the standard TraceLevel values:
0 = Off
1 = Error
2 = Warning
3 = Info
4 = Verbose -->
<add key="SysFramework.EventLog.LogLevel" value="1"/>
</ApplicationConfiguration>
<MyCMMIConfiguration>
<!-- Settings specific to the Duwamish application -->
<add key="MyCMMI.DataAccess.ConnectionString" value="222207218231207218162222224204201209218208224226179200212216221138179175165228198178197211219213219221212197174221197172217198230206211198229207174219222213216222206158155154155172168217214211203205229207212223151184215228201222170183171177189171"/>
<add key="MyCMMI.Web.EnablePageCache" value="True"/>
<add key="MyCMMI.Web.PageCacheExpiresInSeconds" value="3600"/>
<add key="MyCMMI.Web.EnableSsl" value="False"/>
<add key="MyCMMI.WebService.ClientPath" value="D:\work\TestSoftware\App\bin\Debug\"/>
<add key="MyCMMI.MyCMMI.LicencePath" value="D:\Contamination Explorer.lic"/>
<add key="MyCMMI.MyCMMI.UpdateSwitch" value="True"/>
</MyCMMIConfiguration>
</configuration>