洛阳中航光电项目,为12年项目,此处使用反编译工具恢复源码,恢复为.netframe4.0版本,但仍需使用ie8访问; 数据库使用oracle,现再192.168.8.3服务器,访问账户scott,密码800100

Web.config 3.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <configSections>
  4. <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
  5. </configSections>
  6. <appSettings>
  7. <add key="Configpath" value="~/XmlConfig/webset.config"/>
  8. <add key="chinaUnicom" value="130,131,132,155,156,185,186"/>
  9. <!--联通-->
  10. <add key="chinaMobile1" value="134,135,136,137,138,139,150,151,152,158,159,157,187,188,147,183"/>
  11. <!--移动-->
  12. <!--<add key="strCoon" value="Data Source=MARTIN\MSSQLSERVER2;Initial Catalog=JAn_CallCenter;User ID=sa;Password=hykj"/>-->
  13. <add key="strCoonOracle" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.8.3)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)));User Id=scott;Password=800100;Pooling=true;Min Pool Size=1;Max Pool Size=255;"/>
  14. <!-- <add key="strCoonOracle" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.19.91)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)));User Id=hjzx;Password=hjzx;Pooling=true;Min Pool Size=1;Max Pool Size=255;"/> -->
  15. <!--<add key="strCoonOracle" value="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.89)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)));User Id=hjzx;Password=hykj800100;Pooling=true;Min Pool Size=1;Max Pool Size=255;"/>-->
  16. <!--oracle-->
  17. </appSettings>
  18. <connectionStrings/>
  19. <system.web>
  20. <compilation debug="true" targetFramework="4.0"/>
  21. <!--
  22. 通过 <authentication> 节,可配置
  23. ASP.NET 用于识别进入用户的
  24. 安全身份验证模式。
  25. -->
  26. <authentication mode="Windows"/>
  27. <!--
  28. 通过 <customErrors> 节,可以配置
  29. 在执行请求的过程中出现未处理的错误时要执行
  30. 的操作。具体而言,
  31. 开发人员通过该节可配置要显示的 html 错误页,
  32. 以代替错误堆栈跟踪。
  33. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  34. <error statusCode="403" redirect="NoAccess.htm" />
  35. <error statusCode="404" redirect="FileNotFound.htm" />
  36. </customErrors>
  37. -->
  38. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
  39. </system.web>
  40. <!--
  41. system.webServer 节是在 Internet Information Services 7.0 下运行 ASP.NET AJAX
  42. 所必需的。对于早期版本的 IIS,不必保留此节。
  43. -->
  44. <system.webServer>
  45. <handlers>
  46. <add name="AjaxPro_AjaxHandlerFactory" preCondition="integratedMode" verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
  47. <!--<add name="ajax" verb="POST,GET" path="ajaxpro/*.ashx" type="Ajax.PageHandlerFactory, AjaxPro.2"/>-->
  48. </handlers>
  49. </system.webServer>
  50. <system.data>
  51. <DbProviderFactories>
  52. <remove invariant="Oracle.ManagedDataAccess.Client"/>
  53. <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.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342"/>
  54. </DbProviderFactories>
  55. </system.data>
  56. <runtime>
  57. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  58. <dependentAssembly>
  59. <publisherPolicy apply="no"/>
  60. <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral"/>
  61. </dependentAssembly>
  62. </assemblyBinding>
  63. </runtime>
  64. <oracle.manageddataaccess.client>
  65. <version number="*">
  66. <dataSources>
  67. <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) "/>
  68. </dataSources>
  69. </version>
  70. </oracle.manageddataaccess.client>
  71. </configuration>