鹤壁电销版 自用

Web.config 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <!-- appSettings网站信息配置-->
  4. <appSettings>
  5. <!--<add key="Configpath" value="~/xmlconfig/site.config"/>
  6. <add key="DESKey" value="123456789"/>
  7. <add key="SheetSize" value="10000"/>
  8. <add key="DayendTime" value="18:45:00"/>-->
  9. <add key="DESKey" value="123456789" />
  10. <add key="Datetime" value="2015/03/01 00:00:00" />
  11. </appSettings>
  12. <!-- 数据库连接字符串-->
  13. <connectionStrings>
  14. <!--<add name="ConnectionString" connectionString="Data Source=192.168.172.50;Initial Catalog=XKP_CallCenter;User ID=sa;Password=Xinkaipu@123"/>-->
  15. <add name="ConnectionString" connectionString="Data Source=192.168.4.3;User ID=sa;pwd=hykj800100;Initial Catalog=hykjCallcenter;" />
  16. </connectionStrings>
  17. <system.web>
  18. <httpHandlers>
  19. <add path="ajaxpro/*.ashx" verb="POST,GET" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" />
  20. <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
  21. </httpHandlers>
  22. <compilation targetFramework="4.0"></compilation>
  23. <!--
  24. 通过 <authentication> 节可以配置
  25. 安全身份验证模式,ASP.NET
  26. 使用该模式来识别来访用户身份。
  27. -->
  28. <authentication mode="Windows" />
  29. <!--
  30. 如果在执行请求的过程中出现未处理的错误,
  31. 则通过 <customErrors> 节
  32. 可以配置相应的处理步骤。具体而言,
  33. 开发人员通过该节可配置要显示的 html 错误页,
  34. 以代替错误堆栈跟踪。
  35. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  36. <error statusCode="403" redirect="NoAccess.htm" />
  37. <error statusCode="404" redirect="FileNotFound.htm" />
  38. </customErrors>
  39. -->
  40. <httpModules></httpModules>
  41. <!-- 文件上传大小KB-->
  42. <httpRuntime maxRequestLength="204800" executionTimeout="3600" requestValidationMode="2.0" />
  43. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" validateRequest="false">
  44. <controls>
  45. <!-- aspnetpager分页控件 -->
  46. <add assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagPrefix="webdiyer" />
  47. </controls>
  48. </pages>
  49. </system.web>
  50. </configuration>
  51. <!--ProjectGuid: C1532D58-F3E4-486D-A798-BDEC101188A9-->