市长热线演示版

Web.config 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0"?>
  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.1.88;User ID=sa;pwd=800100;Initial Catalog=Base_CallCenter_XiAn;"/>
  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 debug="true" targetFramework="4.0">
  23. </compilation>
  24. <!--
  25. 通过 <authentication> 节可以配置
  26. 安全身份验证模式,ASP.NET
  27. 使用该模式来识别来访用户身份。
  28. -->
  29. <authentication mode="Windows"/>
  30. <!--
  31. 如果在执行请求的过程中出现未处理的错误,
  32. 则通过 <customErrors> 节
  33. 可以配置相应的处理步骤。具体而言,
  34. 开发人员通过该节可配置要显示的 html 错误页,
  35. 以代替错误堆栈跟踪。
  36. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
  37. <error statusCode="403" redirect="NoAccess.htm" />
  38. <error statusCode="404" redirect="FileNotFound.htm" />
  39. </customErrors>
  40. -->
  41. <httpModules>
  42. </httpModules>
  43. <!-- 文件上传大小KB-->
  44. <httpRuntime maxRequestLength="204800" executionTimeout="3600" requestValidationMode="2.0"/>
  45. <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" validateRequest="false">
  46. <controls>
  47. <!-- aspnetpager分页控件 -->
  48. <add assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagPrefix="webdiyer" />
  49. </controls>
  50. </pages>
  51. </system.web>
  52. </configuration>