<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
  </configSections>
  <loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
    <listeners>
      <add fileName="trace.log" header="----------------------------------------" footer="----------------------------------------" formatter="Text Formatter" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" traceOutputOptions="None" filter="All" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="FlatFile TraceListener" />
    </listeners>
    <formatters>
      <add template="Timestamp: {timestamp(local)}&#xA;Message: {message}&#xA;)}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="Text Formatter" />
    </formatters>
    <logFilters>
      <add enabled="false" type="Microsoft.Practices.EnterpriseLibrary.Logging.Filters.LogEnabledFilter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="LogEnabled Filter" />
    </logFilters>
    <categorySources>
      <add switchValue="All" name="General">
        <listeners>
          <add name="FlatFile TraceListener" />
        </listeners>
      </add>
    </categorySources>
    <specialSources>
      <allEvents switchValue="All" name="All Events" />
      <notProcessed switchValue="All" name="Unprocessed Category" />
      <errors switchValue="All" name="Logging Errors &amp; Warnings">
        <listeners>
          <add name="FlatFile TraceListener" />
        </listeners>
      </errors>
    </specialSources>
  </loggingConfiguration>
  <dataConfiguration defaultDatabase="sydevzsh" />
  <appSettings>
    <add key="messageinterval" value="5000" />
    <add key="announceinterval" value="4000" />
    <add key="FTPMaxRequestLength" value="2091151" />
    <add key="searchpriceurl" value="http://localhost:1636/PriceSearch/default.html?uid=[checkid]" />
    <add key="isannounce" value="0" />
    <add key="isabout" value="0" />
    <add key="crmplatform" value="" />
    <add key="crmCsDataName" value="qidedongshengdata" />
    <!--<add key="RemoteServer" value="."/>-->

    <!-- 中棉 -->
    <add key="RemoteServer" value="27.223.68.70" />
    <!--注册服务器地址-->
    <add key="RegServer" value="http://47.104.102.13:8081" />

    <add key="isly" value="1" />
	<add key="UpdateUrl" value="http://192.168.0.145:8181/" />
	<add key="DsVgmUrl" value="" />	
    <!--是否陆运-->
    <add key="Svr1" value="127.0.0.1:11211" />
    <add key="Svr2" value="127.0.0.1:11211" />
	 <add key="ExcelExt" value="Excel 8.0" />
    <!--是否陆运-->
  </appSettings>
  <connectionStrings>   
  
    <!--  原登陆验证服务器   -->
  <add name="DongShengDBServer" connectionString="Server=47.104.102.13;Database=SHIPPINGWEB_DS;User ID=sa;Password=Ds2019*20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />

    <!-- 测试  登陆验证服务器 
   <add name="DongShengDBServer" connectionString="Server=localhost;Database=SHIPPINGWEB_DS;User ID=sa;Password=Ds2019*20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    -->
   <add name="SHIPPINGBOX" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=Booking;User ID=sa;Password=Ds20040201;" providerName="System.Data.SqlClient" />
    <!-- bookingdb 本地测试
    <add name="BookingDB" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=Booking;User ID=sa;Password=Ds20040201;" providerName="System.Data.SqlClient" />
    -->
    <!-- bookingdb 浩宏测试  -->
    <add name="BookingDB" connectionString="Server=118.190.148.130;Database=DSPingTai;User ID=sa;Password=Ds20040201;" providerName="System.Data.SqlClient" />

  <!-- 鑫鹏威 本地   123456 
    <add name="DongShengDB" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=shippingweb_xpw;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=shippingweb_xpw;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
      -->
<!-- 本机测试用P2服务器地址   123456      -->
<add name="P2DB" connectionString="Server=127.0.0.1;Database=P2Forwarder;User ID=sa;Password=Ds20040201;" providerName="System.Data.SqlClient" />
    <!-- 联力P2服务器地址   123456   
    <add name="P2DB" connectionString="Server=47.100.130.190;Database=P2forwarder;User ID=sa;Password=haiyue;" providerName="System.Data.SqlClient" />
   -->
    <!-- ds标准库 联力开票 dsbzk admin 123456 
   <add name="DongShengDB" connectionString="Server=118.190.209.159,18866;Database=shippingweb_QDLL;User ID=sa;Password=2020Ds0525;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
   <add name="sydevzsh" connectionString="Server=118.190.209.159,18866;Database=shippingweb_QDLL;User ID=sa;Password=2020Ds0525;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
         -->
   <!-- 东来 47.104.182.212:8188 DLGJ   admin   Doucheng            -->
    <add name="DongShengDB" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDDLGJ;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDDLGJ;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />

         <!-- 环世立航 http://47.104.1.127:8818/login.aspx  qdhslh   admin   SLM85605156    
    <add name="DongShengDB" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDHSLH;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDHSLH;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
        -->
         <!-- 中棉 本地   123456  
    <add name="DongShengDB" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=shippingweb_QDZM;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=shippingweb_QDZM;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    -->
    <!--
  <add name="SHIPPINGBOX" connectionString="Server=123.57.17.72,1433;Database=ShippingBox;User ID=sa;Password=ds20040201" providerName="System.Data.SqlClient"/>
  <add name="SHIPPINGBOX" connectionString="Server=127.0.0.1\MSSQLSERVER2012;Database=Booking;User ID=sa;Password=sa123;" providerName="System.Data.SqlClient" />
  -->

    <!-- 工作平台 liyan 123456  
<add name="DongShengDB" connectionString="Server=47.104.102.13;Database=ShippingWeb_DS;User ID=sa;Password=Ds2019*20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
<add name="sydevzsh" connectionString="Server=47.104.102.13;Database=ShippingWeb_DS;User ID=sa;Password=Ds2019*20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />

    -->
    <!-- 浩宏测试 http://qdhaohong.dongshengsoft.net:8111 QDHH admin Qdhh123 
    <add name="DongShengDB" connectionString="Server=qdhaohong.dongshengsoft.net,3433;Database=QDHH_CS191203;User ID=saQDHH;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=qdhaohong.dongshengsoft.net,3433;Database=QDHH_CS191203;User ID=saQDHH;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 浩宏实际 http://qdhaohong.dongshengsoft.net:8111 QDHH admin Qdhh123
    <add name="DongShengDB" connectionString="Server=qdhaohong.dongshengsoft.net,3433;Database=ShippingWeb_QDHH;User ID=saQDHH;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=qdhaohong.dongshengsoft.net,3433;Database=ShippingWeb_QDHH;User ID=saQDHH;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      -->
    <!-- 王浩梅服务器
    <add name="BookingDB" connectionString="Server=192.168.0.113;Database=Booking;User ID=sa;Password=sa123;" providerName="System.Data.SqlClient" />
    -->
    <!-- 运踪测试 QDDS admin dsi12345
    <add name="DongShengDB" connectionString="Server=222.173.123.14,17182;Database=shippingweb_yzcs;User ID=sa;Password=112233aaBB;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=222.173.123.14,17182;Database=shippingweb_yzcs;User ID=sa;Password=112233aaBB;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    -->
    <!-- 平台测试用 测试服务器测试库   ShippingWeb_DSBZK/qdds admin 123321 
    <add name="DongShengDB" connectionString="Server=47.104.224.244;Database=ShippingWeb_DSBZK;User ID=sa;Password=0820Ds2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=47.104.224.244;Database=ShippingWeb_DSBZK;User ID=sa;Password=0820Ds2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    -->
    <!-- 鑫鹏威实际库 qdxpw admin yy765269   
    <add name="DongShengDB" connectionString="Server=39.105.100.158,18686;Database=shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=39.105.100.158,18686;Database=shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    -->
    
    <!-- 中鹏贸达 实际库  zpmd ljzz L123456+ 
    <add name="DongShengDB" connectionString="Server=39.105.100.158,18686;Database=shippingweb_ZPMD;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=39.105.100.158,18686;Database=shippingweb_ZPMD;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    -->
    <!-- 鼎世 LJL88257830  ljl //qdds admin dsi12345//
    <add name="DongShengDB" connectionString="Server=222.173.123.14,17182;Database=shippingweb_qdds;User ID=sa;Password=112233aaBB;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=222.173.123.14,17182;Database=shippingweb_qdds;User ID=sa;Password=112233aaBB;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 中棉 ZMYL 55713989
     <add name="DongShengDB" connectionString="Server=47.105.55.88;Database=ShippingWeb_QDZM;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=47.105.55.88;Database=ShippingWeb_QDZM;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      -->
     <!-- 河南中豪 HNZH  ADMIN	123456
     <add name="DongShengDB" connectionString="Server=118.190.200.219;Database=ShippingWeb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=118.190.200.219;Database=ShippingWeb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    -->

     <!-- 良通捷运 admin 580413   
      <add name="DongShengDB" connectionString="Server=47.104.224.244;Database=ShippingWeb_LTJY;User ID=sa;Password=0820Ds2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      <add name="sydevzsh" connectionString="Server=47.104.224.244;Database=ShippingWeb_LTJY;User ID=sa;Password=0820Ds2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
   -->
<!-- 青岛港晟远 qdgsy admin 123456 
    <add name="DongShengDB" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDGSY;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=118.190.207.14;Database=ShippingWeb_QDGSY;User ID=sa;Password=2019dS0308;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    -->
    <!-- 虎鲸  sdwfd ly 61361377
    <add name="DongShengDB" connectionString="Server=47.105.193.36;Database=SHIPPINGWEB_JNHJ;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
    <add name="sydevzsh" connectionString="Server=47.105.193.36;Database=SHIPPINGWEB_JNHJ;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient"/>
   -->
    <!-- 山东倍通  admin  951753  
    <add name="DongShengDB" connectionString="Server=47.105.157.231;Database=shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=47.105.157.231;Database=shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
  -->
    <!-- 雅然  admin  312460  
  <add name="DongShengDB" connectionString="Server=qdyr.noip.cn,1344;Database=QDYR1;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
  <add name="sydevzsh" connectionString="Server=qdyr.noip.cn,1344;Database=QDYR1;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
          -->

  <!-- 航都 qdhd admin  actao  
   <add name="DongShengDB" connectionString="Server=221.215.203.70,12231;Database=ShippingWeb_HD;User ID=QDHD;Password=aircityqd.123;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
   <add name="sydevzsh" connectionString="Server=221.215.203.70,12231;Database=ShippingWeb_HD;User ID=QDHD;Password=aircityqd.123;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
   <!-- 青岛亚太 qdyt admin  491001
     <add name="DongShengDB" connectionString="Server=115.29.108.30 ;Database=Shippingweb_QDYT;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=115.29.108.30 ;Database=Shippingweb_QDYT;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
     <!-- 青岛迈克 QDMK admin  QDmk2020x
     <add name="DongShengDB" connectionString="Server=118.190.157.93;Database=Shippingweb_QDMK;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=118.190.157.93;Database=Shippingweb_QDMK;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      -->
     <!-- 青岛恒阳 qdhd admin  123456
   <add name="DongShengDB" connectionString="Server=115.29.110.120;Database=Shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
   <add name="sydevzsh" connectionString="Server=115.29.110.120;Database=Shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 青岛陆海 qdlh admin  -
     <add name="DongShengDB" connectionString="Server=47.105.143.211,16543;Database=Shippingweb_qdlh;User ID=saqdlh;Password=Lhwl888888;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=47.105.143.211,16543;Database=Shippingweb_qdlh;User ID=saqdlh;Password=Lhwl888888;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
     <!-- 华腾 http://115.29.108.236:8066/login.aspx     qdht   admin   86814109 
   <add name="DongShengDB" connectionString="Server=115.29.108.236;Database=ShippingWeb_QDHT;User ID=sa;Password=Ds140101;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
   <add name="sydevzsh" connectionString="Server=115.29.108.236;Database=ShippingWeb_QDHT;User ID=sa;Password=Ds140101;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
        -->
    <!-- 青岛恒成 QDHC ADMIN	050801
    <add name="DongShengDB" connectionString="Server=61.162.55.30;Database=Shippingweb_HC;User ID=sa;Password=Hc20160628;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
    <add name="sydevzsh" connectionString="Server=61.162.55.30;Database=Shippingweb_HC;User ID=sa;Password=Hc20160628;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 展鸿船务 QDZHCW ADMIN	dapeng   
  <add name="DongShengDB" connectionString="Server=139.129.117.61;Database=Shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
  <add name="sydevzsh" connectionString="Server=139.129.117.61;Database=Shippingweb;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
  -->
    <!-- 星洲港 XZG ADMIN	Xzg123
  <add name="DongShengDB" connectionString="Server=120.77.81.86;Database=Shippingweb_xzg;User ID=sa;Password=Xzg888888;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
  <add name="sydevzsh" connectionString="Server=120.77.81.86;Database=Shippingweb_xzg;User ID=sa;Password=Xzg888888;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 国升物流 118.190.1.4 QDGS   ADMIN	123456 
     <add name="DongShengDB" connectionString="Server=118.190.1.4;Database=Shippingweb_QDGS;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=118.190.1.4;Database=Shippingweb_QDGS;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
     <!-- 太阳taiyang 47.104.174.100:8088  qdty admin 831212  
     <add name="DongShengDB" connectionString="Server=47.104.174.100;Database=ShippingWeb_QDTY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=47.104.174.100;Database=ShippingWeb_QDTY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     -->
    <!-- 鑫润丰  qdxrf admin 123456
     <add name="DongShengDB" connectionString="Server=139.129.119.119;Database=Shippingweb_QDXRF;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
     <add name="sydevzsh" connectionString="Server=139.129.119.119;Database=Shippingweb_QDXRF;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
          -->
     <!-- 交运  JCGC   XZHGZX   123456//
      <add name="DongShengDB" connectionString="Server=27.223.68.70;Database=ShippingWeb_QDJY;User ID=sa;Password=A:20130101;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      <add name="sydevzsh" connectionString="Server=27.223.68.70;Database=ShippingWeb_QDJY;User ID=sa;Password=A:20130101;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
        -->
    <!-- 交运  JCGC   XZHGZX   123456//
      <add name="DongShengDB" connectionString="Server=47.100.130.190;Database=ShippingWeb_QDJY;User ID=sa;Password=QDll2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
      <add name="sydevzsh" connectionString="Server=47.100.130.190;Database=ShippingWeb_QDJY;User ID=sa;Password=QDll2018;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
        -->
    </connectionStrings>
  <!--
    有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。

    可在 <httpRuntime> 标记上设置以下特性。
      <system.Web>
        <httpRuntime targetFramework="4.5" />
      </system.Web>
  -->
  <system.web>
    <!--
    maxRequestLength指示 ASP.NET 支持的最大文件上载大小。
    该限制可用于防止因用户将大量文件传递到该服务器而导致的拒绝服务攻击。
    指定的大小以 KB 为单位。默认值为 4096 KB (4 MB)。
    参数最大是2091151,2M左右大小。
    -->
    <!--
  这里maxQueryStringLength值范围是:(0~2097151)这里取最大,确保万无一失。
  但是在项目中,它会提示“不允许使用maxQueryStringLength”特性,估计是和asp.net 版本有关。
  貌似asp.net 4.0 才有maxQueryStringLength特性。
  即使提示“不允许使用maxQueryStringLength”特性,但在服务器上仍然可用。
  -->
    <httpRuntime maxRequestLength="2091151" executionTimeout="720000" maxQueryStringLength="2097151" />
    <!-- 
            设置 compilation debug="true" 可将调试符号插入
            已编译的页面中。但由于这会 
            影响性能,因此只在开发过程中将此值  
            设置为 true。
        -->
    <compilation debug="true" targetFramework="4.5">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
		
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
		
      </assemblies>
    </compilation>
    <!--
            通过 <authentication> 节可以配置 ASP.NET 用来 
            识别进入用户的
            安全身份验证模式。 
        -->
    <authentication mode="Windows" />
    <customErrors mode="Off" defaultRedirect="Default.aspx" />
    <!-- 
            如果在执行请求的过程中出现未处理的错误,
            则通过 <customErrors> 节可以配置相应的处理步骤。具体说来,
            开发人员通过该节可以配置
            要显示的 html 错误页
            以代替错误堆栈跟踪。

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm"/>
            <error statusCode="404" redirect="FileNotFound.htm"/>
        </customErrors>
        -->
    <pages validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" pageParserFilterType="System.Web.Mvc.ViewTypeParserFilter, System.Web.Mvc, Version=2.0.0.0, Culture=neutral,&#xA;PublicKeyToken=31BF3856AD364E35" pageBaseType="System.Web.Mvc.ViewPage, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" userControlBaseType="System.Web.Mvc.ViewUserControl, System.Web.Mvc, Version=2.0.0.0, Culture=neutral,&#xA;PublicKeyToken=31BF3856AD364E35">
      <controls>
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      </controls>
      <namespaces>
        <add namespace="System.Web.Mvc" />
        <add namespace="System.Web.Mvc.Ajax" />
        <add namespace="System.Web.Mvc.Html" />
        <add namespace="System.Web.Routing" />
        <!--<add namespace="System.Linq"/>-->
        <add namespace="System.Collections.Generic" />
      </namespaces>
    </pages>
    <httpHandlers>
      <!-- 
      <add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
        -->
      <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
    </httpHandlers>
    <httpModules>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </httpModules>
  </system.web>
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="1024000000" />
      </webServices>
    </scripting>
  </system.web.extensions>
  <!-- 
        在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
        节。对早期版本的 IIS 来说则不需要此节。
    -->
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true" />
  </system.webServer>
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding name="DyxtServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxBufferSize="65536" maxReceivedMessageSize="65536" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true" messageEncoding="Text">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="None">
            <transport clientCredentialType="None" proxyCredentialType="None" realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
        </binding>
        <binding name="WebInterFaceSoap" />
      </basicHttpBinding>
    </bindings>
    <client>
      <endpoint address="http://www.yydy.com/GacoWebService/DyxtService.asmx" binding="basicHttpBinding" bindingConfiguration="DyxtServiceSoap" contract="DYxtService.DyxtServiceSoap" name="DyxtServiceSoap" />
      <endpoint address="http://z23242k066.imwork.net/WebService/WebInterFace.asmx" binding="basicHttpBinding" bindingConfiguration="WebInterFaceSoap" contract="ServiceReference1.WebInterFaceSoap" name="WebInterFaceSoap" />
    </client>
  </system.serviceModel>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="AspNetPager" publicKeyToken="fb0a0fe055d40fd4" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.0.2.0" newVersion="7.0.2.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-0.84.0.0" newVersion="0.84.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
</configuration>