Web.config 配置
View Code
2012-06-12 16:26 Web.config 配置<?xml version="1.0"?> <configuration> <connectionStrings> <add name="525wzqc" connectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=|DataDirectory|525sj.mdb;Persist Security Info=true;" /> </connectionStrings> <system.web> <!--<compilation debug="true" targetFramework="4.0" />--> <compilation debug="true" /> <!--<httpRuntime requestValidationMode="2.0"/>--> <!--<customErrors mode="Off"/> <customErrors mode="RemoteOnly" defaultRedirect="error.htm"/>--> <customErrors mode="Off" defaultRedirect="error.htm"> <error statusCode="404" redirect="error.htm"/> <!--500:服务器内部错误 403:没有访问权限--> </customErrors> </system.web> </configuration>