Web.config
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:2k
源码类别:

C#编程

开发平台:

C#

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="ConnectionString" value="server=Newtimet-dotnet;database=UDS;User Id=sa;pwd=new;"/>
  5. <!-- <add key="ConnectionString" value="server=xm2003;database=uds_dongzhou_net2.0;User Id=sa;pwd=;"/>-->
  6. <add key="IndexConnectionString" value="Provider=MSIDXS; Data Source=UDS;"/>
  7. </appSettings>
  8. <system.web>
  9. <compilation defaultLanguage="c#" debug="true">
  10. <!-- <assemblies><add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>--><assemblies><add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/><add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies></compilation>
  11. <customErrors defaultRedirect="Error.aspx" mode="Off"/>
  12. <authentication mode="Forms">
  13. <forms name="UDSAuth" loginUrl="SubModule/Login/index.aspx" protection="None" timeout="216000" path="/"/>
  14. </authentication>
  15. <globalization requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312" culture="zh-cn"/>
  16. <httpRuntime maxRequestLength="102400" useFullyQualifiedRedirectUrl="true" executionTimeout="300"/>
  17. </system.web>
  18. <!-- set secure paths -->
  19. <location path="Inc">
  20. <system.web>
  21. <authorization>
  22. <deny users="?"/>
  23. </authorization>
  24. </system.web>
  25. </location>
  26. <location path="SubModule">
  27. <system.web>
  28. <authorization>
  29. <deny users="?"/>
  30. </authorization>
  31. </system.web>
  32. </location>
  33. </configuration>