|
|
<?xml version="1.0"?>
|
|
|
<configuration>
|
|
|
<configSections>
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
|
|
</configSections>
|
|
|
<connectionStrings>
|
|
|
<add name="MailAnalyzeTools.Properties.Settings.ShippingWeb_LNHTConnectionString" connectionString="Data Source=DEV000\DS;Initial Catalog=ShippingWeb_LNHT;Integrated Security=True" providerName="System.Data.SqlClient"/>
|
|
|
</connectionStrings>
|
|
|
<log4net>
|
|
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
<file value="log\\"/>
|
|
|
<appendToFile value="true"/>
|
|
|
<rollingStyle value="Date"/>
|
|
|
<datePattern value="yyyy\\yyyyMM\\yyyyMMdd'.txt'"/>
|
|
|
<staticLogFileName value="false"/>
|
|
|
<param name="MaxSizeRollBackups" value="100"/>
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
<conversionPattern value="%newline %n记录时间:%date %n线程ID:[%thread] %n日志级别: %-5level %n出错类:%logger property: [%property{NDC}] - %n错误描述:%message%newline %n"/>
|
|
|
</layout>
|
|
|
</appender>
|
|
|
<root>
|
|
|
<level value="ERROR"/>
|
|
|
<appender-ref ref="RollingLogFileAppender"/>
|
|
|
</root>
|
|
|
</log4net>
|
|
|
<appSettings>
|
|
|
<add key="ConnectionString" value="Data Source=223.223.95.213;Initial Catalog=20220913;User ID=sa;Password=Smart*DATA_80120"/>
|
|
|
<add key="ConnectionStringFile" value="Data Source=223.223.95.213;Initial Catalog=20220913;User ID=sa;Password=Smart*DATA_80120"/>
|
|
|
<add key="MailStartDate" value="2022-12-03"/>
|
|
|
<add key="FtpServer" value="sftp.ediqa.maersk.net"/>
|
|
|
<!--<add key="FtpDefaultUrl" value="/"/>-->
|
|
|
<add key="TimeZoneNum" value="8"/>
|
|
|
<add key="LoginID" value="SMARTL-N.150"/>
|
|
|
<add key="LoginPWD" value="SMARTL-N"/>
|
|
|
<add key="Port" value="1152"/>
|
|
|
<add key="DownloadPath" value="D:\东胜邮件工具\DongshengMailToolsRelease\ftp_pdf"/>
|
|
|
<add key="FtpDefaultPath" value="/outbound"/>
|
|
|
<add key="SshPrivateKeyPath" value="C:\Users\Administrator\Desktop\privatekey.ppk"/>
|
|
|
<add key="SshHostKeyFingerprint" value="ecdsa-sha2-nistp256 256 fSdIRJYgdOGYnQBK6Nahy0R8tcnktuOPsY+Q1q7jpb0"/>
|
|
|
|
|
|
<!--BC报文服务器配置-->
|
|
|
<add key="BcFtpServer_AuoDeal" value="0"/>
|
|
|
<add key="BcFtpServer" value="ftp://edi.maerskline.com/outbound"/>
|
|
|
<add key="BcTimeZoneNum" value="8"/>
|
|
|
<add key="BcLoginID" value="smartl"/>
|
|
|
<add key="BcLoginPWD" value="Sm23ar45"/>
|
|
|
<add key="BcAutoDownload" value="1"/>
|
|
|
<add key="BcPort" value="21"/>
|
|
|
<add key="BcDownloadPath" value="D:\东胜邮件工具\data\BC"/>
|
|
|
<!--是否自动转发BC报文-->
|
|
|
<add key="BcMailAutoForword" value="0"/>
|
|
|
<!--Invoice报文服务器配置-->
|
|
|
<add key="InvoiceFtpServer_AuoDeal" value="1"/>
|
|
|
<add key="InvoiceFtpServer" value="ftp://193.163.248.25/INVOIC"/>
|
|
|
<add key="InvoiceTimeZoneNum" value="8"/>
|
|
|
<add key="InvoiceLoginID" value="SMARTL4"/>
|
|
|
<add key="InvoiceLoginPWD" value="Msk0231"/>
|
|
|
<add key="InvoiceAutoDownload" value="1"/>
|
|
|
<add key="InvoicePort" value="21"/>
|
|
|
<add key="InvoiceDownloadPath" value="D:\东胜邮件工具\data\Invoice"/>
|
|
|
<!--下面是鸿安货运edi的报文设置内容-->
|
|
|
<add key="HA_Edi_AuoDeal" value="1"/>
|
|
|
<!--HA_Edi_Path 鸿安货运原始edi报文位置-->
|
|
|
<add key="HA_Edi_Path" value="D:\honganftp\SI\IN"/>
|
|
|
<!--HA_Edi_TargetPath 鸿安货运edi报文目标位置 -->
|
|
|
<add key="HA_Edi_TargetPath" value="D:\honganftp\SI\OUT"/>
|
|
|
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
|
|
</appSettings>
|
|
|
<startup>
|
|
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
|
|
|
</startup>
|
|
|
<system.web>
|
|
|
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
|
|
<providers>
|
|
|
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
|
|
</providers>
|
|
|
</membership>
|
|
|
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
|
|
<providers>
|
|
|
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
|
|
</providers>
|
|
|
</roleManager>
|
|
|
</system.web>
|
|
|
</configuration>
|