zoukankan      html  css  js  c++  java
  • 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>

  • 相关阅读:
    pandas read_excel 产生 Unnamed:0 列
    python 打印输出百分比符号%
    python 内存回收
    python 编码问题
    python 判断 txt 编码方式
    python 二维list取列
    python 两个list 求交集,并集,差集
    pandas Timestamp的用法
    Dataframe 取列名
    Dataframe 新增一列, apply 通用方法
  • 原文地址:https://www.cnblogs.com/RobotTech/p/526244.html
Copyright © 2011-2022 走看看