<? XML version = "1.0" encoding = "gb2312" ?>
< Configuration >
< Configsections > // Configure WebServices
< Section Name = "Microsoft. Web. Services2" Type = "Microsoft. Web. services2.configuration. webservicesconfiguration, Microsoft. Web. Services2, version = 2.0.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35" />
</ Configsections >
< Appsettings > // Configure the database connection
< Add Key = "Connectionstring" Value = "Server = server; database = MIS; user = sa; Pwd =" />
< Add Key = "Uploadpath" Value = "D: \ filemanager \ temp \" /> // File storage path
</ Appsettings >
< System . Web >
< Httpmodules > // Configure the upload of large files used in my project
< Add Name = "Httpuploadmodule"
Type = "Krystalware. slickupload. httpuploadmodule, krystalware. slickupload" />
</ Httpmodules >
< WebServices > // Configure WebServices
< Protocols >
< Remove Name = "Httpget" />
< Remove Name = "Httppost" />
</ Protocols >
< Soapextensiontypes >
< Add Type = "Microsoft. Web. services2.webservicesextension, Microsoft. Web. Services2, version = 2.0.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35" Priority = "1" Group = "0" />
</ Soapextensiontypes >
</ WebServices >
<! -- Dynamic debugging and compilation
Set compilation DEBUG = "true" to enable aspx debugging. Otherwise, set this value
False will improve this applicationProgramRuntime performance.
Set compilation DEBUG = "true" to set the debug symbol (. PDB Information)
Insert to the compilation page. Because this will create and execute
Slow large file, so this value should be set to true only during debugging, and set
False. For more information, see
Debug ASP. NET files.
-->
< Compilation Defaultlanguage = "C #" Debug = "True" > // CRYSTAL REPORT
< Assemblies > < Add Assembly = "Crystaldecisions. crystalreports. Engine, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. reportsource, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. Shared, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. Web, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. reportappserver. clientdoc, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. Enterprise. Framework, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> < Add Assembly = "Crystaldecisions. Enterprise. infostore, version = 10.0.3300.0, culture = neutral, publickeytoken = 692fbea5521e1304" /> </ Assemblies >
</ Compilation >
<! -- Custom error message
Set customerrors mode = "on" or "remoteonly" to enable custom error messages, or set it to "off" to disable custom error messages.
Add the <error> flag for each error to be processed.
"On" always displays custom (friendly) information.
"Off" always displays detailed ASP. NET error messages.
"Remoteonly" only
The user displays custom (friendly) information. For security purposes, we recommend that you use this setting
The details of the application are not displayed to the remote client.
-->
< Customerrors Mode = "Off" />
<! -- Authentication
This section sets the authentication policy for the application. Possible modes are windows ",
"Forms", "Passport", and "NONE"
"None" does not perform authentication.
"Windows" IIS performs Authentication Based on application settings
(Basic, simple, or integrated windows ). Anonymous access must be disabled in IIS.
"Forms" you provide users with a custom form (web page) for entering creden,, and then
Verify their identity in your application. User creden are stored in cookies.
"Passport" authentication is performed through Microsoft's centralized identity authentication service,
It provides independent logon and core configuration file services for member sites.
-->
< Authentication Mode = "Forms" >
< Forms Name = "Loginapp" Loginurl = "Login. aspx" Protection = "All" />
</ Authentication >
<! -- Authorization
This section sets the application Authorization Policy. Allow or Deny Access From different users or roles
Application resources. Wildcard: "*" indicates anyone ,"? "Anonymous
(Unauthenticated) user.
-->
< Authorization >
< Allow Users = "*" />
<! -- <Deny users = "? "/> --> // Allow access by login users. Anonymous access is not allowed.
<! -- Allow all users -->
<! -- <Allow users = "[comma-separated user list]"
Roles = "[list of roles separated by commas]"/>
<Deny users = "[comma-separated user list]"
Roles = "[list of roles separated by commas]"/>
-->
</ Authorization >
<! -- Application-level tracking records
Application-level tracing enables tracing log output for each page of the application.
Set trace enabled = "true" to enable application tracking records. If pageoutput = "true ",
The trace information is displayed at the bottom of each page. Otherwise, you can browse the Web Application
Check the trace. axd page in the root directory.
Application tracing logs.
-->
< Trace Enabled = "False" Requestlimit = "10" Pageoutput = "False" Tracemode = "Sortbytime" Localonly = "True" />
<! -- Session status settings
By default, ASP. NET uses cookies to identify which requests belong to a specific session.
If the cookie is unavailable, you can trace the session by adding the session identifier to the URL.
To disable cookie, set sessionstate cookieless = "true ".
-->
< Sessionstate Mode = "Inproc" Stateconnectionstring = "TCPIP = FIG: 42424" Sqlconnectionstring = "Data Source = 127.0.0.1; trusted_connection = yes" Cookieless = "False" Timeout = "2000" />
<! -- Globalization
This section sets the global settings of the application.
-->
< Globalization Requestencoding = "Gb2312" Responseencoding = "Gb2312" />
< Httpruntime
Maxrequestlength = "10000"
Executiontimeout = "3600"
/>
< Pages Validaterequest = "False" />
</ System. Web >
</ Configuration >