You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
198 lines
9.1 KiB
198 lines
9.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
有关如何配置 ASP.NET 应用程序的详细信息,请访问
|
|
https://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
<configuration>
|
|
<configSections>
|
|
<section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false" />
|
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
|
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
|
</configSections>
|
|
<appSettings>
|
|
<!--<add key="MailSender" value="scp@syjbjh.com"/>
|
|
<add key="MailServer" value="smtp.syjbjh.com"/>
|
|
<add key="MailUserName" value="scp@syjbjh.com"/>
|
|
<add key="MailPassword" value="9iDrmQKnIM"/>
|
|
<add key="MailPort" value="25"/>-->
|
|
<!-- 发邮件配置开始 -->
|
|
<!--<add key="MailSender" value="z13756255098@sina.com"/>
|
|
<add key="MailServer" value="smtp.sina.com"/>
|
|
<add key="MailUserName" value="z13756255098@sina.com"/>
|
|
<add key="MailPassword" value="asdasd"/>
|
|
<add key="MailPort" value="25"/>-->
|
|
<!--<add key="MailSender" value="1783497608@qq.com "/>
|
|
<add key="MailServer" value="smtp.qq.com"/>
|
|
<add key="MailUserName" value="1783497608@qq.com "/>
|
|
<add key="MailPassword" value="elidfejizgdfbjej"/>
|
|
<add key="MailPort" value="25"/>
|
|
<add key="ResetPassWord" value="localhost:62030"/>-->
|
|
|
|
<add key="MailSender" value="supplier@auto-interior.cn" />
|
|
<add key="MailServer" value="smtp.qiye.aliyun.com" />
|
|
<add key="MailUserName" value="supplier@auto-interior.cn" />
|
|
<add key="MailPassword" value="Yumiao123" />
|
|
<add key="MailPort" value="25" />
|
|
<add key="ResetPassWord" value="223.72.232.229:3577" />
|
|
|
|
|
|
|
|
|
|
<!-- 发邮件配置结束 -->
|
|
<add key="AppBoxDbUser" value="sa" />
|
|
<add key="AppBoxDbPassword" value="5E0AFEB85CA001A3371A9F19E7EC4DFF" />
|
|
<!--测试服务器数据库-->
|
|
<!-- <add key="AppBoxDbServer" value="10.1.1.13" />-->
|
|
<!--本机数据库-->
|
|
<add key="AppBoxDbServer" value="." />
|
|
<add key="AppBoxDbPort" value="1433" />
|
|
<add key="AppBoxDbName" value="SCPAppBox" />
|
|
<add key="SCPDbUser" value="sa" />
|
|
<add key="SCPDbPassword" value="5E0AFEB85CA001A3371A9F19E7EC4DFF" />
|
|
<!--测试服务器数据库-->
|
|
<!-- <add key="MesDbServer" value="10.1.6.74" />-->
|
|
<!--本机数据库-->
|
|
<add key="SCPDbServer" value="." />
|
|
<add key="SCPDbPort" value="1433" />
|
|
<add key="SCPDbName" value="ChangKeTecSCP" />
|
|
<add key="SCP_TIME_OUT" value="120"/>
|
|
|
|
</appSettings>
|
|
<FineUI DebugMode="false" Theme="Gray" />
|
|
<!--
|
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
|
|
|
可在 <httpRuntime> 标记上设置以下特性。
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<sessionState mode="InProc" timeout="120"></sessionState>
|
|
<httpModules>
|
|
<add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI" />
|
|
</httpModules>
|
|
<httpHandlers>
|
|
<add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false" />
|
|
</httpHandlers>
|
|
<!-- <httpRuntime maxRequestLength="102400 " />-->
|
|
<httpRuntime executionTimeout="120" maxRequestLength="204800" useFullyQualifiedRedirectUrl="false"
|
|
minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="false"/>
|
|
<customErrors mode="Off" />
|
|
<authentication mode="Forms">
|
|
<forms name=".APPBOX_FORMS_AUTH" loginUrl="~/Default.aspx" timeout="3" defaultUrl="~/main.aspx" protection="All" path="/" />
|
|
</authentication>
|
|
<authorization>
|
|
|
|
<deny users="?" />
|
|
</authorization>
|
|
<compilation debug="true" targetFramework="4.5.2">
|
|
<assemblies>
|
|
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
|
</assemblies>
|
|
</compilation>
|
|
<!--<httpRuntime/>-->
|
|
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
|
|
<namespaces>
|
|
<add namespace="System.Web.Optimization" />
|
|
</namespaces>
|
|
<controls>
|
|
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
|
|
<add assembly="FineUI" namespace="FineUI" tagPrefix="f" />
|
|
</controls>
|
|
</pages>
|
|
<!-- <httpModules>-->
|
|
<!-- <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />-->
|
|
<!-- </httpModules>-->
|
|
</system.web>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
|
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="FineUI" publicKeyToken="0ff1835d01c384a9" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-6.0.1.0" newVersion="6.0.1.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="NPOI" publicKeyToken="0df73ec7942b34e1" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-2.1.1.0" newVersion="2.1.1.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="EPPlus" publicKeyToken="ea159fdaa78159a1" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-4.5.2.1" newVersion="4.5.2.1" />
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<!-- <system.webServer>-->
|
|
<!-- <validation validateIntegratedModeConfiguration="false" />-->
|
|
<!-- <modules>-->
|
|
<!-- <remove name="ApplicationInsightsWebTracking" />-->
|
|
<!-- <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />-->
|
|
<!-- </modules>-->
|
|
<!-- </system.webServer>-->
|
|
<location path="res">
|
|
<system.web>
|
|
<authorization>
|
|
<allow users="*" />
|
|
</authorization>
|
|
</system.web>
|
|
</location>
|
|
<location path="extjs">
|
|
<system.web>
|
|
<authorization>
|
|
<allow users="*" />
|
|
</authorization>
|
|
</system.web>
|
|
</location>
|
|
<!--IIS7集成管道模式-->
|
|
<system.webServer>
|
|
<security>
|
|
<!--<requestFiltering allowDoubleEscaping="true"/>-->
|
|
<requestFiltering allowDoubleEscaping="true">
|
|
<requestLimits maxAllowedContentLength="2147483647" ></requestLimits>
|
|
</requestFiltering>
|
|
</security>
|
|
<validation validateIntegratedModeConfiguration="false" />
|
|
<modules>
|
|
<remove name="FineUIScriptModule" />
|
|
<add name="FineUIScriptModule" preCondition="managedHandler" type="FineUI.ScriptModule, FineUI" />
|
|
</modules>
|
|
<handlers>
|
|
<add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" />
|
|
</handlers>
|
|
<staticContent>
|
|
<mimeMap fileExtension=".grf" mimeType="grf/gridreport" />
|
|
</staticContent>
|
|
</system.webServer>
|
|
<entityFramework>
|
|
<!--<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
|
<parameters>
|
|
<parameter value="v11.0" />
|
|
</parameters>
|
|
</defaultConnectionFactory>-->
|
|
<providers>
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
|
</providers>
|
|
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
|
|
<parameters>
|
|
<parameter value="mssqllocaldb" />
|
|
</parameters>
|
|
</defaultConnectionFactory>
|
|
</entityFramework>
|
|
<system.codedom>
|
|
<compilers>
|
|
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
|
|
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
|
|
</compilers>
|
|
</system.codedom>
|
|
</configuration>
|