Web.config 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0"?>
  2. <!--
  3. 有关如何配置 ASP.NET 应用程序的详细信息,请访问
  4. https://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <connectionStrings>
  8. <add name="ConnectionString" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.101)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=dkmes)));User Id=dkmes;Password=dongke" providerName="Oracle.ManagedDataAccess.Client"/>
  9. <!--<add name="ConnectionString" connectionString="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.102)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=test)));User Id=test;Password=dongke" providerName="Oracle.ManagedDataAccess.Client"/>-->
  10. </connectionStrings>
  11. <appSettings>
  12. <add key="ProductCheckServer" value="http://192.168.0.101"/>
  13. <add key="成型" value="'01','02','03','04','05','06','07','08','09','10','12','13','14','15','16','17','18','19','21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','001','002','1' ,'2' ,'3','99','099'"/>
  14. <add key="打磨" value="'10', '12', '13', '14', '15', '16', '17', '18', '19', '23', '25' , '35'"/>
  15. <add key="擦洗" value="'01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '28', '34', '35'"/>
  16. <add key="半检" value="'01','02','03','04','05','06','07','08','09','10','19','20','25','26','27','28','29','30','12','13','14','15','16','17','18','23','31','32','33','34','35'"/>
  17. <add key="施釉" value="'36','37','38','39','40','41','42','43','44'"/>
  18. <add key="擦坯" value="'47','48','49','50','51','52','53','54','55','56','20','57'"/>
  19. <add key="装窑" value="'61','62','63','64','65','66','67', '11'"/>
  20. <add key="烧窑" value="'69','70','71','43','73','74','75','76','77','78','79','80'"/>
  21. <add key="出窑" value="'83','84'"/>
  22. <add key="原料" value="'86','87','88','086'"/>
  23. <add key="其他" value="'99','100'"/>
  24. </appSettings>
  25. <system.web>
  26. <customErrors mode="Off"/>
  27. <compilation targetFramework="4.0" debug="true"/>
  28. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" validateRequest="false"/>
  29. <httpRuntime/>
  30. <!--<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="1440"/>-->
  31. </system.web>
  32. <system.data>
  33. <DbProviderFactories>
  34. <remove invariant="Oracle.ManagedDataAccess.Client"/>
  35. <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
  36. </DbProviderFactories>
  37. </system.data>
  38. <system.webServer>
  39. <security>
  40. <requestFiltering>
  41. <requestLimits maxAllowedContentLength="1048576000"></requestLimits>
  42. </requestFiltering>
  43. </security>
  44. <staticContent>
  45. <mimeMap fileExtension=".log" mimeType="text/plain" />
  46. </staticContent>
  47. </system.webServer>
  48. </configuration>