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.

36 lines
2.0 KiB

2 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <startup>
  4. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  5. </startup>
  6. <connectionStrings>
  7. <!-- 開發環境-->
  8. <!--<add name="OrigtekSQLConn" connectionString="server=192.168.1.101;database=OPMS_Online;uid=sa;pwd=bk6711" />
  9. <add name="OEnergySQLConn" connectionString="server=192.168.1.101;database=OPMS_Online;uid=sa;pwd=bk6711" />-->
  10. <!--測試密碼改寫SQL : Update OTB_SYS_Members Set Password ='2DGZp2Lo0F2YF13i/sp6VA=='-->
  11. <!-- 正式環境-->
  12. <add name="OrigtekSQLConn" connectionString="server=.;database=OPMS_Online;uid=sa;pwd=i'mnelson" />
  13. <add name="OEnergySQLConn" connectionString="server=192.168.1.106;database=OPMS_Online;uid=ot;pwd=ot20140507" />
  14. </connectionStrings>
  15. <appSettings>
  16. <!-- 系統預設加密解密密匙Key -->
  17. <add key="DefaultCryptionKey" value="OTK7950future" />
  18. <!-- 系統預設加密解密密匙IV -->
  19. <add key="DefaultCryptionIV" value="394820" />
  20. <!-- 系統預設錯誤Log路徑 -->
  21. <add key="ErrorFilePath" value=".\Logs\ErrorLog\" />
  22. <add key="XMLFilePath" value=".\Setting\" />
  23. <add key="ClientSettingsProvider.ServiceUri" value="" />
  24. </appSettings>
  25. <system.web>
  26. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  27. <providers>
  28. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  29. </providers>
  30. </membership>
  31. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  32. <providers>
  33. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  34. </providers>
  35. </roleManager>
  36. </system.web>
  37. </configuration>