|
|
<?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)}
Message: {message}
)}" 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="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="GetDataUrl" value="http://47.104.90.170:5000/query" />
|
|
|
<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" />
|
|
|
|
|
|
<!-- 小程序ID -->
|
|
|
<!--ddlucky
|
|
|
<add key="WechatAppId" value="wx20c10d88bd66f14c" /> -->
|
|
|
|
|
|
<!-- 小程序APP SECRET -->
|
|
|
<!--ddlucky
|
|
|
<add key="WechatAppSecret" value="a34ca112a36f905f52e895ee277a1405" /> -->
|
|
|
|
|
|
<!--裕龙
|
|
|
<add key="WechatAppId" value="wx43d54a2ce68544fb" />
|
|
|
<add key="WechatAppSecret" value="701a666c77a53e7dc281528fa761b119" />-->
|
|
|
<!--裕龙小程序
|
|
|
<add key="appid" value="wx472f89bdc218e681" />
|
|
|
<add key="secret" value="585b005110e32f386876e3c0d8f5d498" />
|
|
|
-->
|
|
|
<!--虎鲸箱管 -->
|
|
|
<add key="WechatAppId" value="wx0d6ea4c05bfae5ff" />
|
|
|
<add key="WechatAppSecret" value="f2984ca7f69c58129463500d48308477" />
|
|
|
<!-- 裕龙小程序上传图片时 裕龙DSWMS系统的文件夹位置 -->
|
|
|
<add key="DSWMSPICPATH" value="H:\DSWMS\Vue.Net\VOL.WebApi\wwwroot\" />
|
|
|
<add key="DSWMSURL" value="http://localhost:9991/api/" />
|
|
|
</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" />
|
|
|
-->
|
|
|
<!-- 开发库 dsbzk admin 123456
|
|
|
<add name="DongShengDB" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="sydevzsh" connectionString="Server=123.234.225.158,26600;Database=shippingwebTEST;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
-->
|
|
|
|
|
|
<!-- 深圳彩虹捷运 正式库 LYGJX admin 123456 -->
|
|
|
<add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=ShippingWeb_CHJY;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
|
|
|
<!-- 深圳彩虹捷运 测试库 CHJY admin 123456
|
|
|
<add name="DongShengDB" connectionString="Server=119.23.249.201,12356;Database=20220629;User ID=sa;Password=Ds20040201;Connect Timeout=120000;" providerName="System.Data.SqlClient" />
|
|
|
<add name="sydevzsh" connectionString="Server=119.23.249.201,12356;Database=20220629;User ID=sa;Password=Ds20040201;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 requestValidationMode="2.0" 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,
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" />
|
|
|
|
|
|
<add namespace="DSWeb.Areas.Dispatch.Models" />
|
|
|
<add namespace="DSWeb.Areas.Dispatch.DB" />
|
|
|
<add namespace="DSWeb.Areas.MvcShipping.DB" />
|
|
|
<add namespace="DSWeb.Areas.MvcShipping.Models.MsOpSeaeRunBill" />
|
|
|
|
|
|
</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>
|
|
|
<security>
|
|
|
|
|
|
</security>
|
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
|
<modules runAllManagedModulesForAllRequests="true" />
|
|
|
<security>
|
|
|
<requestFiltering>
|
|
|
<requestLimits maxAllowedContentLength="2147483647" maxQueryString="2147483647" />
|
|
|
</requestFiltering>
|
|
|
</security>
|
|
|
</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>
|
|
|
<dependentAssembly>
|
|
|
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
|
|
<bindingRedirect oldVersion="0.0.0.0-1.8.6.0" newVersion="1.8.6.0" />
|
|
|
</dependentAssembly>
|
|
|
</assemblyBinding>
|
|
|
</runtime>
|
|
|
</configuration> |