Web/web.config

(完整代码) 2KB

<?xml version="1.0"?>
<configuration>
  <appSettings>
    <!-- 连接字符串是否加密 -->
    <add key="ConStringEncrypt" value="false"/>
    <add key="FCKeditor:UserFilesPath" value="../Admin/UpFile/"/>
    <add key="FCKeditor:BasePath" value="../Admin/js/fckeditor/"/>
    <!-- 数据库连接字符串,(如果采用加密方式,上面一项要设置为true;加密工具,可在官方下载,
     如果使用明文这样server=127.0.0.1;database=.....,上面则设置为false。 -->
    <add key="ConnectionString" value="server=狂派威震天\SQL2005;database=BtoC;uid=sa;pwd=sa"/>
    <!--其它模块连接字符串,可以不断增加以便同一个项目支持连接多个数据库。如果没有,可以删除该行-->
    <add key="ConnectionString2" value="server=狂派威震天\SQL2005;database=BtoC;uid=sa;pwd=sa"/>
  </appSettings>
  <connectionStrings>
    <!--分页存储过程数据库链接语句-->
    <add name="SQLConnString" connectionString="server=狂派威震天\SQL2005;database=BtoC;uid=sa;pwd=sa;Max Pool Size=100;Min Pool Size=2" providerName="System.Data.SqlClient"/>
    <add name="SQLProfileConnString" connectionString="server=狂派威震天\SQL2005;database=BtoC;uid=sa;pwd=sa;Max Pool Size=100;Min Pool Size=2" providerName="System.Data.SqlClient"/>
    <!--分页存储过程数据库链接语句结束-->
  </connectionStrings>
  <system.web>
    <httpRuntime executionTimeout="3600" maxRequestLength="1048576"/>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
    </compilation>
    <customErrors mode="Off" defaultRedirect="~/error.aspx">
      <error statusCode="404" redirect="~/error.aspx"/>
    </customErrors>
    <!--<identity impersonate="true"/>-->
    <identity impersonate="false"/>
    <authentication mode="Forms">
      <forms name="forums" path="/" loginUrl="Login.aspx" protection="All" timeout="40"/>
    </authentication>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
  </system.web>
  <system.webServer>
    <defaultDocument>
      <files>
        <add value="Index.aspx"/>
      </files>
    </defaultDocument>
  </system.webServer>
</configuration>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。