3
Note: As an alternative to hand editing this file you can use the
4
web admin tool to configure settings for your application. Use
5
the Website->Asp.Net Configuration option in Visual Studio.
6
A full list of settings and comments can be found in
7
machine.config.comments usually located in
8
\Windows\Microsoft.Net\Framework\v2.x\Config
14
<httpRuntime requestValidationMode="2.0" />
17
Set compilation debug="true" to insert debugging
18
symbols into the compiled page. Because this
19
affects performance, set this value to true only
22
<compilation debug="true" targetFramework="4.0">
25
The <authentication> section enables configuration
26
of the security authentication mode used by
27
ASP.NET to identify an incoming user.
29
<authentication mode="Windows"/>
31
The <customErrors> section enables configuration
32
of what to do if/when an unhandled error occurs
33
during the execution of a request. Specifically,
34
it enables developers to configure html error pages
35
to be displayed in place of a error stack trace.
37
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
38
<error statusCode="403" redirect="NoAccess.htm" />
39
<error statusCode="404" redirect="FileNotFound.htm" />
42
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>