代码:<!-- config.web file -->
<configuration>
<configsections>
<add names="httpmodules" type="system.web.config.httpmodulesconfighandler"/>
<add names="httphandlers" type="system.web.config.httphandlerconfighandler"/>
<add names="sessionstate" type="system.web.config.sessionstateconfighandler"/>
<add names="globalization" type="system.web.config.globalizationconfighandler"/>
<!-- additional configsection declarations go here -->
</configsections>
<httpmodules>
<!-- http module subelements go here -->
</httpmodules>
<httphandlers>
<!-- http handlers subelements go here -->
</httphandlers>
<sessionstate>
<!-- session state subelements go here -->
</sessionstate>
<globalization>
<!-- session state subelements go here -->
</globalization>
<!-- additional config sections go here -->
</configuration>
代码:<configuration>
<configsections>
<add name="debugmode" type="system.web.config.singletagsectionhandler" />
<add name="globalization" type="system.web.config.singletagsectionhandler" />
<add name="assemblies" type="system.web.ui.assembliessectionhandler" />
<add name="security" type="system.web.config.securityconfighandler" />
</configsections>
<debugmode enable="true" />
<globalization
requestencoding="us-ascii"
responseencoding="iso-8859-1"
/>
<assemblies>
<add assembly="system.data.dll"/>
<add assembly="system.dll"/>
<add assembly="system.drawing.dll"/>
<add assembly="*"/>
</assemblies>
<security>
<authorization>
<allow users="*" /> <!-- allow all users -->
</authorization>
</security>
</configuration>
新闻热点
疑难解答