|
|
<?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)}
Mesldfge: {mesldfge}
)}" 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 & Warnings">
|
|
|
<listeners>
|
|
|
<add name="FlatFile TraceListener" />
|
|
|
</listeners>
|
|
|
</errors>
|
|
|
</specialSources>
|
|
|
</loggingConfiguration>
|
|
|
<dataConfiguration defaultDatabase="sydevzsh" />
|
|
|
|
|
|
<appSettings>
|
|
|
<add key="Svr1" value="127.0.0.1:11211"/>
|
|
|
<add key="Svr2" value="192.168.1.254:11211"/>
|
|
|
<add key="mesldfgeinterval" 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="ildfnnounce" value="0" />
|
|
|
<add key="ildfbout" value="0" />
|
|
|
<add key="crmplatform" value="" />
|
|
|
<add key="crmCsDataName" value="qidedongshengdata" />
|
|
|
<add key="RemoteServer" value="118.190.154.69,62356" />
|
|
|
<add key="RegServer" value="http://47.104.102.13:8081" />
|
|
|
<add key="isly" value="1" /><!--是否陆运-->
|
|
|
<add key="owin:AutomaticAppStartup" value="false" />
|
|
|
|
|
|
<!--是否陆运-->
|
|
|
</appSettings>
|
|
|
<connectionStrings>
|
|
|
<add name="BookingDB" connectionString="Server=118.190.154.69,62356;Database=Booking;User ID=ldf;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="dsydevzsh" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="DongShengDB" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="sydevzsh" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="ZDongShengDB" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="Zsydevzsh" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="DongShengDB_sub" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_SDYFD;User ID=ldf;Password=Ds20040201" providerName="System.Data.SqlClient" />
|
|
|
<add name="sydevzsh_sub" connectionString="Server=118.190.154.69,62356;Database=ShippingWeb_QDCB;User ID=ldf;Password=Ds140101" providerName="System.Data.SqlClient" />
|
|
|
<add name="SHIPPINGBOX" connectionString="Server=118.190.154.69,62356;Database=ShippingBox;User ID=ldf;Password=Ds20040201" providerName="System.Data.SqlClient" />
|
|
|
|
|
|
<!--
|
|
|
<add name="DongShengDB" connectionString="Server=118.190.154.69,62356\SQL2005;Database=Shippingweb;User ID=ldf;Password=ldf" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzsh" connectionString="Server=118.190.154.69,62356\SQL2005;Database=Shippingweb;User ID=ldf;Password=ldf" providerName="System.Data.SqlClient"/>
|
|
|
-->
|
|
|
<!--
|
|
|
<add name="DongShengDB" connectionString="Server=HXT-PC;Database=Shippingweb_zwc;User ID=ldf;Password=ds20040201" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzsh" connectionString="Server=HXT-PC;Database=Shippingweb_zwc;User ID=ldf;Password=ds20040201" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
|
<add name="DongShengDB_wdfy" connectionString="Server=119.167.57.189;Database=Shippingweb;User ID=ldf;Password=ds20040201" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzsh_wdfy" connectionString="Server=119.167.57.189;Database=Shippingweb;User ID=ldf;Password=ds20040201" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="DongShengDBzwc" connectionString="Server=42.121.104.125;Database=Shippingweb;User ID=ldf;Password=cmst3224" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzshzwc" connectionString="Server=42.121.104.125;Database=Shippingweb;User ID=ldf;Password=cmst3224" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="DongShengDB_hgty" connectionString="Server=221.3.63.64,1433;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
<add name="dscustserviceDB_hgty" connectionString="Server=221.3.63.64,1433;Database;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
|
|
|
<add name="DongShengDB_hgty" connectionString="Server=221.3.63.64,1433;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
<add name="dscustserviceDB_hgty" connectionString="Server=221.3.63.64,1433;Database;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
|
|
|
<add name="DongShengDB" connectionString="Server=192.168.1.211;Database=shippingweb;User ID=ldf;Password=ldf" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzsh" connectionString="Server=192.168.1.211;Database=shippingweb;User ID=ldf;Password=ldf" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="DongShengDB_qd" connectionString="Server=122.4.72.244,19022;Database=Shippingweb;User ID=ldf;Password=20040201" providerName="System.Data.SqlClient"/>
|
|
|
<add name="sydevzsh_qd" connectionString="Server=122.4.72.244.19022;Database=Shippingweb;User ID=ldf;Password=20040201" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="DongShengDB_yl" connectionString="Server=hds-005.hichina.com;Database=hds0050156_db;User ID=hds0050156;Password=hmw123456" providerName="System.Data.SqlClient"/>
|
|
|
<add name="dscustserviceDB_yl" connectionString="Server=hds-005.hichina.com;Database=hds0050156_db;User ID=hds0050156;Password=hmw123456" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
<add name="DongShengDB_hgty" connectionString="Server=qdhgty.xicp.net,1433;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
<add name="dscustserviceDB_hgty" connectionString="Server=qdhgty.xicp.net,1433;Database;Database=shippingweb;User ID=ldf;Password=hgty8309"/>
|
|
|
-->
|
|
|
</connectionStrings>
|
|
|
<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" requestValidationMode="2.0" maxQueryStringLength="2097151" />-->
|
|
|
<httpRuntime maxRequestLength="104857600" executionTimeout="1200" targetFramework="4.5" requestValidationMode="2.0" />
|
|
|
<!--
|
|
|
设置 compilation debug="true" 可将调试符号插入
|
|
|
已编译的页面中。但由于这会
|
|
|
影响性能,因此只在开发过程中将此值
|
|
|
设置为 true。
|
|
|
-->
|
|
|
<compilation debug="false" targetFramework="4.0">
|
|
|
<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.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
|
|
|
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
|
<add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
|
<add assembly="System.Web.Routing, Version=3.5.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.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.Data.Linq, 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,
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,
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>
|
|
|
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="20" />
|
|
|
</system.web>
|
|
|
<!--
|
|
|
在 Internet 信息服务 7.0 下运行 ASP.NET AJAX 需要 system.webServer
|
|
|
节。对早期版本的 IIS 来说则不需要此节。
|
|
|
-->
|
|
|
<system.webServer>
|
|
|
<security>
|
|
|
<requestFiltering>
|
|
|
<requestLimits maxQueryString="10240"></requestLimits>
|
|
|
</requestFiltering>
|
|
|
</security>
|
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
|
<staticContent>
|
|
|
<mimeMap fileExtension=".*" mimeType="application/octet-stream" />
|
|
|
</staticContent>
|
|
|
</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" maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMesldfgeSize="65536" mesldfgeEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
|
|
|
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
|
<security mode="None">
|
|
|
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
|
|
|
<mesldfge clientCredentialType="UserName" algorithmSuite="Default" />
|
|
|
</security>
|
|
|
</binding>
|
|
|
</basicHttpBinding>
|
|
|
</bindings>
|
|
|
<client>
|
|
|
<endpoint address="http://www.yydy.com/GacoWebService/DyxtService.asmx" binding="basicHttpBinding" bindingConfiguration="DyxtServiceSoap" contract="DYxtService.DyxtServiceSoap" name="DyxtServiceSoap" />
|
|
|
</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> |