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.
 
 
 
 
 
 

222 lines
11 KiB

<?xml version="1.0" encoding="utf-8"?>
<!--
如需如何設定 ASP.NET 應用程式的詳細資訊,請造訪
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="DefenseWeb.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="CounsellorBL.RGS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings>
<add name="DefaultConnection" providerName="System.Data.SqlClient" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-DefenseWeb-20150813094550;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-DefenseWeb-20150813094550.mdf" />
</connectionStrings>
<appSettings>
<add key="webpages:Version" value="2.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="PreserveLoginUrl" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<!-- Web Debug Mode switch -->
<add key="DEBUGFLAG" value="true" />
<!-- Triggers FTP Configuration -->
<add key="TriggerFtpPath" value="ftp://127.0.0.1" />
<add key="TriggerFtpUser" value="admin" />
<add key="TriggerFtpPassword" value="1234" />
<!-- DB Connection Start-->
<!-- Connections -->
<add key="AllConnections" value="odb_generic:MSSQL_ConnectString01" />
<!-- Use Single Connection only(Need DB Link Support)
<add key="UseSingleConnect" value="Host=192.168.1.188;Service=9088;Server=ol_svr_custom;Database=syserp_dt3;User ID=informix;password=!QAZ2wsx;clientlocale=ZH_TW.big5;DatabaseLocale=ZH_TW.big5" />
-->
<!-- Company -->
<add key="MSSQL_ConnectString01" value="Data Source=DESKTOP-BETI4VV\HERCULESMS2014;Initial Catalog=odb_generic;Integrated Security=true" />
<!-- DB Connection END-->
<!-- MAIL -->
<add key="SMTPURL" value="MAILSQR.CHIPMOS.COM" />
<add key="MAILOWNERADDRESS" value="topgp@chipmos.com" />
<add key="MAILACCOUNT" value="" />
<add key="MAILPASS" value="" />
<add key="USESSL" value="NO" />
<add key="MAILPORT" value="25" />
<!-- MAIL END -->
<!-- TN Certification Info -->
<add key="TN_IS_USE" value="Y" />
<add key="TN_DOMAIN" value="tn" />
<add key="TN_USERNAME" value="missup07" />
<add key="TN_PASSWORD" value="!user456" />
<!-- TN Certification Info END -->
<add key="ExpireTimeMinute" value="1800" />
<!-- Encryption -->
<add key="KEY" value="!QAZ2wsx@ChipMOS" />
<add key="IV" value="ChipMOSa" />
<add key="USESECRET" value="false" />
<!-- Encryption End -->
<!-- LBC Log Start-->
<add key="WriteLbcLog" value="Y" />
<!-- LBC Log End-->
<!-- LBC Log Start-->
<add key="FileServer.Excel" value="D:\spo\excel" />
<!-- LBC Log End-->
</appSettings>
<system.web>
<!-- Web Service Setting -->
<httpRuntime maxRequestLength="10240" appRequestQueueLimit="100" useFullyQualifiedRedirectUrl="true" executionTimeout="1200" />
<webServices>
<protocols>
<add name="HttpPost" />
<add name="HttpGet" />
</protocols>
<!-- SoapExtention配置(用於統計Webservice的調用者、調用函數、運行時間) -->
<soapExtensionTypes>
<add type="CounsellorBL.Helper.WsSoapExtention,CounsellorBL" priority="1" group="High" />
</soapExtensionTypes>
</webServices>
<!--中文必備-->
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="zh-tw" uiCulture="zh-tw" />
<compilation debug="true" targetFramework="4.0" />
<!-- AD authentication -->
<!--<authentication mode="Windows" />
<authorization>
<deny users="?"/>
</authorization>-->
<pages>
<namespaces>
<add namespace="System.Web.Helpers" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Optimization" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.WebPages" />
</namespaces>
</pages>
<profile defaultProvider="DefaultProfileProvider">
<providers>
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
</providers>
</profile>
<membership defaultProvider="DefaultMembershipProvider">
<providers>
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<roleManager defaultProvider="DefaultRoleProvider">
<providers>
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
</providers>
</roleManager>
<!--
If you are deploying to a cloud environment that has multiple web server instances,
you should change session state mode from "InProc" to "Custom". In addition,
change the connection string named "DefaultConnection" to connect to an instance
of SQL Server (including SQL Azure and SQL Compact) instead of to SQL Server Express.
-->
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
<providers>
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
</providers>
</sessionState>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true" />
<httpProtocol>
<!--開啟CORS-->
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
<handlers>
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<!--<staticContent>
<mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
</staticContent>-->
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
</entityFramework>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IOEPackageService" />
<binding name="BasicHttpBinding_IOELotForCustPOService" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://tnaeim04.tn.chipmos.com.tw/EIMWcfService/OEPackageService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IOEPackageService" contract="OEPackageService.IOEPackageService" name="BasicHttpBinding_IOEPackageService" />
<endpoint address="http://tnaeim04.tn.chipmos.com.tw/EIMWcfService/OELotForCustPOService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IOELotForCustPOService" contract="OELotForCustPOService.IOELotForCustPOService" name="BasicHttpBinding_IOELotForCustPOService" />
</client>
</system.serviceModel>
<applicationSettings>
<DefenseWeb.Properties.Settings>
<setting name="DefenseWeb_UDTWebService_wsh_PO_Parser" serializeAs="String">
<value>http://origtek-lab:7333/wsh/services/RealTime/wsh_PO_Parser</value>
</setting>
</DefenseWeb.Properties.Settings>
<CounsellorBL.RGS.Properties.Settings>
<setting name="CounsellorBL_RGS_MesForRgsWebService_messervice" serializeAs="String">
<value>http://192.72.114.79/ftcimestest/chipmos/webservice/messervice.asmx</value>
</setting>
</CounsellorBL.RGS.Properties.Settings>
</applicationSettings>
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="false" enableCaching="true" />
</scripting>
</system.web.extensions>
</configuration>