CopyCode The Code is as follows: <? XML version = "1.0"?>
<! --
Note: In addition to manually editing this file, you can also use
Web management tools to configure applications Program . You can use
"Website"-> "ASP. NET configuration" option.
The complete list of settings and comments is displayed in
In machine. config. Comments, this file is usually located in
\ Windows \ Microsoft. NET \ framework \ v2.x \ config
-->
<Configuration>
<Deleetask>
<Add key = "accesscon" value = "provider = Microsoft. Jet. oledb.4.0;
Data Source = | datadirectory | db_access.mdb "/> <! -- Accesscon database connection -->
<Add key = "sqlcon" value = "Data Source = (local); database = northwind; uid = sa; Pwd ="/> <! -- Sqlserver database connection -->
</Appsettings>
<Connectionstrings/>
<System. Web>
<! --
Set compilation DEBUG = "true" to insert the debugging symbol
Compiled pages. However, this
Performance is affected, so this value is only available during development.
Set to true.
-->
<Compilation DEBUG = "true"/>
<! --
In the <authentication> section, you can configure
Security Authentication mode,
To identify the user.
-->
<Authentication mode = "Windows"/>
<Sessionstate mode = "inproc" timeout = "10"> </sessionstate> <! -- Session expiration time -->
<Httpruntime maxrequestlength = "4096" executiontimeout = "100"/> <! -- File upload size limit and timeout -->
<! --
If an unprocessed error occurs during request execution,
You can configure the corresponding processing steps in the <mermerrors> section. Specifically,
This section allows developers to configure
HTML error page to be displayed
To replace the error stack trace.
-->