|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
Note: As an alternative to hand editing this file you can use the
|
|
|
|
web admin tool to configure settings for your application. Use
|
|
|
|
the Website->Asp.Net Configuration option in Visual Studio.
|
|
|
|
A full list of settings and comments can be found in
|
|
|
|
machine.config.comments usually located in
|
|
|
|
\Windows\Microsoft.Net\Framework\v2.x\Config
|
|
|
|
-->
|
|
|
|
<configuration>
|
|
|
|
<configSections>
|
|
|
|
<!--日志处理组件-->
|
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
|
|
|
|
</configSections>
|
|
|
|
<appSettings>
|
|
|
|
<!--主应用路径-->
|
|
|
|
<add key="ManageCenterRoot" value="http://localhost:2718/" />
|
|
|
|
<!--数据分页尺寸-->
|
|
|
|
<add key="PageSize" value="20"/>
|
|
|
|
<!--配置数据字典-->
|
|
|
|
<add key="Dictionary" value="Content\Xml\Dictionary.xml"/>
|
|
|
|
<!--数据库字符串加密-->
|
|
|
|
<add key="ConEncrypt" value="false"/>
|
|
|
|
<add key="loactionfile" value="C:\MES\location.bin" />
|
|
|
|
<!--不合格记录导出行数-->
|
|
|
|
<add key="ExcelRows" value="30"/>
|
|
|
|
</appSettings>
|
|
|
|
<connectionStrings>
|
|
|
|
<!--主数据库连接-->
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=.;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=qm;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=119.3.213.202.13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.122.213.104;Initial Catalog=ADIENT_VW276_MES;User Id=MES;Password=Password1;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=dev.ccwin-in.com,6191;Initial Catalog=ADIENT_VW276PA_MES;User Id=sa;Password=Microsoft@2021;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.122.213.104;Initial Catalog=ADIENT_VW276_MES;User Id=MES;Password=Password1;" providerName="System.Data.SqlClient"/>
|
|
|
|
-->
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
<!--
|
|
|
|
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.99;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.99;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=dev.ccwin-in.com,6191;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=Microsoft@2021;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=dev.ccwin-in.com,6191;Initial Catalog=BZD;User Id=sa;Password=Microsoft@2021;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.99;Initial Catalog=ADIENT_CD_MES_20230930;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.99;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.111;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password01;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.111;Initial Catalog=BZD;User Id=sa;Password=Password01;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.111;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=123u3M12912@1;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.111;Initial Catalog=BZD;User Id=CDMESADM;Password=123u3M12912@1;" providerName="System.Data.SqlClient"/>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=.;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=.;Initial Catalog=BZD;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
|
|
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=dev.ccwin-in.com,6191;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=Microsoft@2021;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=dev.ccwin-in.com,6191;Initial Catalog=BZD;User Id=sa;Password=Microsoft@2021;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
|
|
|
|
</connectionStrings>
|
|
|
|
<!--日志组件配置开始-->
|
|
|
|
<log4net>
|
|
|
|
<logger name="loginfo">
|
|
|
|
<level value="INFO"/>
|
|
|
|
<appender-ref ref="InfoAppender"/>
|
|
|
|
</logger>
|
|
|
|
<logger name="debuginfo">
|
|
|
|
<level value="DEBUG"/>
|
|
|
|
<appender-ref ref="DebugAppender"/>
|
|
|
|
</logger>
|
|
|
|
<logger name="errorinfo">
|
|
|
|
<level value="ERROR"/>
|
|
|
|
<appender-ref ref="ErrorAppender"/>
|
|
|
|
</logger>
|
|
|
|
<appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
|
<param name="File" value="Log\\Info\\" />
|
|
|
|
<param name="AppendToFile" value="true" />
|
|
|
|
<param name="MaxFileSize" value="10240" />
|
|
|
|
<param name="MaxSizeRollBackups" value="100" />
|
|
|
|
<param name="StaticLogFileName" value="false" />
|
|
|
|
<param name="DatePattern" value="yyyyMMdd".txt"" />
|
|
|
|
<param name="RollingStyle" value="Date" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
<appender name="DebugAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
|
<param name="File" value="Log\\Debug\\" />
|
|
|
|
<param name="AppendToFile" value="true" />
|
|
|
|
<param name="MaxFileSize" value="10240" />
|
|
|
|
<param name="MaxSizeRollBackups" value="100" />
|
|
|
|
<param name="StaticLogFileName" value="false" />
|
|
|
|
<param name="DatePattern" value="yyyyMMdd".txt"" />
|
|
|
|
<param name="RollingStyle" value="Date" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m" />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
<appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
|
<param name="File" value="Log\\Error\\" />
|
|
|
|
<param name="AppendToFile" value="true" />
|
|
|
|
<param name="MaxFileSize" value="10240" />
|
|
|
|
<param name="MaxSizeRollBackups" value="100" />
|
|
|
|
<param name="StaticLogFileName" value="false" />
|
|
|
|
<param name="DatePattern" value="yyyyMMdd".txt"" />
|
|
|
|
<param name="RollingStyle" value="Date" />
|
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
|
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m " />
|
|
|
|
</layout>
|
|
|
|
</appender>
|
|
|
|
</log4net>
|
|
|
|
<system.serviceModel>
|
|
|
|
<bindings>
|
|
|
|
<basicHttpBinding>
|
|
|
|
<binding name="BasicHttpBinding_IGeneralService" closeTimeout="00:11:00" openTimeout="00:11:00" receiveTimeout="00:10:00" sendTimeout="00:11:00"
|
|
|
|
maxBufferSize="2147483647" maxBufferPoolSize="52428800" maxReceivedMessageSize="2147483647"
|
|
|
|
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true">
|
|
|
|
<readerQuotas maxDepth="32" maxStringContentLength="50971520" maxArrayLength="1638400" maxBytesPerRead="4096000" maxNameTableCharCount="1638004" />
|
|
|
|
<security mode="None">
|
|
|
|
<transport clientCredentialType="None" proxyCredentialType="None" realm="" />
|
|
|
|
<message clientCredentialType="UserName" algorithmSuite="Default" />
|
|
|
|
</security>
|
|
|
|
</binding>
|
|
|
|
</basicHttpBinding>
|
|
|
|
</bindings>
|
|
|
|
<client>
|
|
|
|
<endpoint address="http://localhost:8938/GeneralService.svc"
|
|
|
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService"
|
|
|
|
contract="CenterGeneralService.IGeneralService" name="BasicHttpBinding_IGeneralService" />
|
|
|
|
<endpoint address="http://localhost:8938/LoginService.svc"
|
|
|
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService"
|
|
|
|
contract="LoginService.ILoginService" name="BasicHttpBinding_ILoginService" />
|
|
|
|
<!--<endpoint address="http://10.117.133.49:8939/GeneralService.svc"
|
|
|
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService"
|
|
|
|
contract="CenterGeneralService.IGeneralService" name="BasicHttpBinding_IGeneralService" />
|
|
|
|
<endpoint address="http://10.117.133.49:8939/LoginService.svc"
|
|
|
|
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IGeneralService"
|
|
|
|
contract="LoginService.ILoginService" name="BasicHttpBinding_ILoginService" />-->
|
|
|
|
</client>
|
|
|
|
</system.serviceModel>
|
|
|
|
<!--日志组件配置结束-->
|
|
|
|
<system.web>
|
|
|
|
<!--
|
|
|
|
Set compilation debug="true" to insert debugging
|
|
|
|
symbols into the compiled page. Because this
|
|
|
|
affects performance, set this value to true only
|
|
|
|
during development.
|
|
|
|
-->
|
|
|
|
<compilation debug="true" targetFramework="4.0">
|
|
|
|
<assemblies>
|
|
|
|
<add assembly="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|
|
|
<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>
|
|
|
|
<!--
|
|
|
|
The <authentication> section enables configuration
|
|
|
|
of the security authentication mode used by
|
|
|
|
ASP.NET to identify an incoming user.
|
|
|
|
-->
|
|
|
|
<authentication mode="Forms">
|
|
|
|
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
|
|
|
|
</authentication>
|
|
|
|
<membership>
|
|
|
|
<providers>
|
|
|
|
<clear/>
|
|
|
|
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/"/>
|
|
|
|
</providers>
|
|
|
|
</membership>
|
|
|
|
<profile>
|
|
|
|
<providers>
|
|
|
|
<clear/>
|
|
|
|
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
|
|
|
|
</providers>
|
|
|
|
</profile>
|
|
|
|
<roleManager enabled="false">
|
|
|
|
<providers>
|
|
|
|
<clear/>
|
|
|
|
<add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|
|
|
<add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|
|
|
</providers>
|
|
|
|
</roleManager>
|
|
|
|
<!--
|
|
|
|
The <customErrors> section enables configuration
|
|
|
|
of what to do if/when an unhandled error occurs
|
|
|
|
during the execution of a request. Specifically,
|
|
|
|
it enables developers to configure html error pages
|
|
|
|
to be displayed in place of a error stack trace.
|
|
|
|
|
|
|
|
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
|
|
|
<error statusCode="403" redirect="NoAccess.htm" />
|
|
|
|
<error statusCode="404" redirect="FileNotFound.htm" />
|
|
|
|
</customErrors>
|
|
|
|
-->
|
|
|
|
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
|
|
|
|
<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>
|
|
|
|
<httpRuntime requestValidationMode="2.0" maxQueryStringLength="102400" maxRequestLength="2048" />
|
|
|
|
</system.web>
|
|
|
|
<system.web.extensions/>
|
|
|
|
<!--
|
|
|
|
The system.webServer section is required for running ASP.NET AJAX under Internet
|
|
|
|
Information Services 7.0. It is not necessary for previous version of IIS.
|
|
|
|
-->
|
|
|
|
<system.webServer>
|
|
|
|
<modules runAllManagedModulesForAllRequests="true">
|
|
|
|
</modules>
|
|
|
|
<handlers>
|
|
|
|
<remove name="UrlRoutingHandler"/>
|
|
|
|
</handlers>
|
|
|
|
<security>
|
|
|
|
<requestFiltering>
|
|
|
|
<requestLimits maxQueryString="20480" />
|
|
|
|
</requestFiltering>
|
|
|
|
</security>
|
|
|
|
</system.webServer>
|
|
|
|
<runtime>
|
|
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
|
|
<dependentAssembly>
|
|
|
|
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
|
|
|
|
<bindingRedirect oldVersion="2.0.0.0" newVersion="4.0.0.0"/>
|
|
|
|
</dependentAssembly>
|
|
|
|
</assemblyBinding>
|
|
|
|
</runtime>
|
|
|
|
</configuration>
|