• web.config文件


    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <appSettings>
     <add key="SMS_UploadFiles_Path" value="E:\SMS_UploadFiles\" />
     <add key="ConnectionString" value="Provider=SQLOLEDB.1;Persist Security Info=False;User ID=wxoa;pwd=jroa123;Initial Catalog=WxOA;Data Source=ServerDB;Connect Timeout=30" />
      <add key="ConnnectionString" value="server=BOBO\PLAYBOY;database=ITExplorer;User id=sa;Pwd=sa"></add>
      </appSettings>
      <system.web>
     <httpHandlers>
      <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
      </httpHandlers>

      <compilation defaultLanguage="vb" debug="true" />
     <customErrors mode="RemoteOnly" defaultRedirect="error.aspx" />

     <authentication mode="Forms">
      <forms name="Debug" loginUrl="login.aspx" protection="All" timeout="30" path="/" />
     </authentication>

     <authorization>
              <deny users="?" />
     </authorization>

     <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
     <sessionState
                mode="InProc"
                stateConnectionString="tcpip=127.0.0.1:42424"
                sqlConnectionString="data source=127.0.0.1;user id=sa;password="
                cookieless="false"
                timeout="20"
        />
      <globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312" />

         <httpRuntime executionTimeout="300" maxRequestLength="30960" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
     
     <pages buffer="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" autoEventWireup="true" validateRequest="false" />
      </system.web>

     <location path="ValidateCode.aspx">
      <system.web>
       <authorization>
        <allow users="*" />
       </authorization>
      </system.web>
     </location>
     
      <location path="error.aspx">
      <system.web>
       <authorization>
        <allow users="*" />
       </authorization>
      </system.web>
     </location>
    </configuration>

  • 相关阅读:
    C#-创建自定义双击事件
    C#-设置button颜色
    C#-动态生成40个按钮,大小(20,20),要求每行6个放置
    推荐系统相关算法(1):SVD
    SVD在推荐系统中的应用
    个性化推荐研究(四)之如何利用用户行为数据
    推荐系统开源软件列表
    推荐系统中所使用的混合技术介绍
    协同过滤算法
    转:[大数据竞赛]算法讨论
  • 原文地址:https://www.cnblogs.com/RobotTech/p/526244.html
Copyright © 2020-2023  润新知