|
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
<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="owin:AutomaticAppStartup" value="false"/>
|
|
|
|
|
<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="orderinputby" value="DEMO-SA"/>
|
|
|
|
|
<add key="ordercompany" value="捷丰黄岛"/>
|
|
|
|
|
<add key="crmplatform" value=""/>
|
|
|
|
|
<add key="crmCsDataName" value="qidedongshengdata"/>
|
|
|
|
|
<add key="SftpServier" value="sftp.edi.maersk.net"/>
|
|
|
|
|
<add key="SftpPort" value="1152"/>
|
|
|
|
|
<add key="SftpUserName" value="SMARTL-N.MSK"/>
|
|
|
|
|
<add key="SftpPassword" value="SMARTL-N"/>
|
|
|
|
|
<add key="JFSshHostKeyFingerprint" value="ecdsa-sha2-nistp256 256 aIDZTqHfi01gZWzBLwye1nYuWau8fdCzv8UzvRYx1ss"/>
|
|
|
|
|
<add key="YTSftpServier" value="sftp.edi.maersk.net"/>
|
|
|
|
|
<add key="YTSftpPort" value="1152"/>
|
|
|
|
|
<add key="YTSftpUserName" value="SMARTL-N.MSK"/>
|
|
|
|
|
<add key="YTSftpPassword" value="SMARTL-N"/>
|
|
|
|
|
<add key="YTSshHostKeyFingerprint" value="ecdsa-sha2-nistp256 256 fSdIRJYgdOGYnQBK6Nahy0R8tcnktuOPsY+Q1q7jpb0="/>
|
|
|
|
|
<add key="RemoteServer" value="222.132.28.130\sunchic,8089"/>
|
|
|
|
|
<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"/>
|
|
|
|
|
<!--
|
|
|
|
|
<add key="InfoClientInputUser" value="陈冠宇" />
|
|
|
|
|
-->
|
|
|
|
|
<!--是否陆运-->
|
|
|
|
|
</appSettings>
|
|
|
|
|
<connectionStrings>
|
|
|
|
|
<!--
|
|
|
|
|
<add name="DongShengDB" connectionString="Server=ds-hxt;Database=dongshengdata_jf;User ID=sa;Password=ds20040201;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
|
|
-->
|
|
|
|
|
<add name="sydevzsh" connectionString="Server=60.209.125.238,32009;Database=HECHUAN;User ID=sa;Password=Djy@Sql2022.test;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
|
|
|
|
|
|
|
<add name="DongShengDB" connectionString="Server=60.209.125.238,32009;Database=HECHUAN;User ID=sa;Password=Djy@Sql2022.test;Connect Timeout=18000;" providerName="System.Data.SqlClient" />
|
|
|
|
|
<add name="DS6DB" connectionString="Server=60.209.125.238,32009;Database=HECHUAN;User ID=sa;Password=Djy@Sql2022.test;Connect Timeout=18000;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
<add name="DS6DB" connectionString="Server=60.209.125.238,32009;Database=HECHUAN;User ID=sa;Password=Djy@Sql2022.test;Connect Timeout=18000;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
-->
|
|
|
|
|
<!--
|
|
|
|
|
<add name="DS6DB" connectionString="Server=192.168.0.126;Database=2006db_ceshi;User ID=sa;Password=ds20040201;Connect Timeout=18000;" 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"/>
|
|
|
|
|
</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>
|
|
|
|
|
</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"/>
|
|
|
|
|
<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-13.0.0.0" newVersion="13.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="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
<dependentAssembly>
|
|
|
|
|
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
|
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0"/>
|
|
|
|
|
</dependentAssembly>
|
|
|
|
|
</assemblyBinding>
|
|
|
|
|
</runtime>
|
|
|
|
|
</configuration>
|