以前一直没注意到这个问题,最近想用一下ueditor发现ueditor在兼容模式下无法正常显示(高度没法控制)
切换到高速模式后页面为空白,没有任何内容,但是右键查看源文件,发现所有内容都在就是没法显示。
下面是我的web.config文件内容
- <?xml version="1.0"?>
- <!--
- 有关如何配置 ASP.NET 应用程序的详细消息,请访问
- http://go.microsoft.com/fwlink/?LinkId=169433
- -->
- <configuration>
- <!--配置节点-->
- <configSections>
- <!--spring节点-->
- <sectionGroup name="spring">
- <section name="context" type="Spring.Context.Support.WebContextHandler, Spring.Web"/>
- <section name="objects" type="Spring.Context.Support.DefaultSectionHandler, Spring.Core"/>
- <section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
- </sectionGroup>
- <section name="databaseSettings" type="System.Configuration.NameValueSectionHandler"/>
- <!--log4net节点-->
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
- <!--FineUI节点-->
- <section name="FineUI" type="FineUI.ConfigSection, FineUI" requirePermission="false"/>
- </configSections>
- <!--spring-->
- <spring>
- <parsers>
- <parser type="Spring.Data.Config.DatabaseNamespaceParser, Spring.Data"/>
- <parser type="Spring.Transaction.Config.TxNamespaceParser, Spring.Data"/>
- </parsers>
- <context>
- <resource uri="config://spring/objects"/>
- <!--Dao-->
- <resource uri="assembly://Dao/Dao.Config/Dao.xml"/>
- <resource uri="assembly://Dao/Dao.Config/BaseDao.xml"/>
- <!--Biz-->
- <resource uri="assembly://Biz/Biz.Config/Biz.xml"/>
- <resource uri="assembly://Biz/Biz.Config/BaseBiz.xml"/>
- <!--Web-->
- <resource uri="assembly://Kxds/Kxds.Config/Web.xml"/>
- <resource uri="assembly://Kxds/Kxds.Config/Web_SearchPage.xml"/>
- <resource uri="assembly://Kxds/Kxds.Config/Web_UserControls.xml"/>
- </context>
- <objects xmlns="http://www.springframework.net">
- <!--<object type="~/Default.aspx">
- <property name="ob" ref="biz.org"/>
- </object>-->
- </objects>
- </spring>
- <!--log4net-->
- <log4net debug="true">
- <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
- <param name="File" value="Logs\Log.log"/>
- <param name="datePattern" value="MM-dd HH:mm"/>
- <param name="AppendToFile" value="true"/>
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
- </layout>
- </appender>
- <appender name="HttpTraceAppender" type="log4net.Appender.ASPNetTraceAppender">
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
- </layout>
- </appender>
- <appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
- </layout>
- </appender>
- <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
- <param name="File" value="Logs/Log.log"/>
- <param name="AppendToFile" value="true"/>
- <param name="MaxSizeRollBackups" value="10"/>
- <param name="MaximumFileSize" value="1024K"/>
- <param name="RollingStyle" value="Size"/>
- <param name="StaticLogFileName" value="true"/>
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/>
- </layout>
- </appender>
- <root>
- <level value="Info"/>
- <appender-ref ref="RollingLogFileAppender"/>
- </root>
- </log4net>
- <!--FineUI-->
- <!-- 可用的配置项(这里列的都是默认值): Language="zh_CN" AjaxTimeout="60" EnableAjax="true" Theme="blue" FormMessageTarget="qtip" FormOffsetRight="20" FormLabelWidth="100" FormLabelSeparator=":" IconBasePath="~/icon" EnableAjaxLoading="true" AjaxLoadingType="default" CustomTheme="" CustomThemeBasePath="~/theme" -->
- <FineUI EnableBigFont="true" DebugMode="true" AjaxLoadingType="Mask" />
- <!--数据库连接字符串-->
- <databaseSettings>
- <add key="db.datasource" value="."/>
- <add key="db.database" value="Kxds"/>
- <add key="db.user" value="sa"/>
- <add key="db.password" value="1234"/>
- </databaseSettings>
- <appSettings>
- <add key="Spring.Data.NHibernate.Support.OpenSessionInViewModule.SessionFactoryObjectName" value="NHibernateSessionFactory"/>
- <add key="IsDebug" value="true"/>
- <add key="aspnet:MaxHttpCollectionKeys" value="10000"/>
- </appSettings>
- <system.web>
- <httpRuntime requestValidationMode="2.0"/>
- <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
- <controls>
- <add assembly="FineUI" namespace="FineUI" tagPrefix="x"/>
- </controls>
- </pages>
- <httpModules>
- <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
- <add name="OpenSessionInView" type="Spring.Data.NHibernate.Support.OpenSessionInViewModule, Spring.Data.NHibernate21"/>
- <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>
- </httpModules>
- <httpHandlers>
- <add verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web"/>
- <add verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false"/>
- </httpHandlers>
- <compilation debug="true" targetFramework="4.0">
- <assemblies>
- <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
- </assemblies>
- </compilation>
- <customErrors mode="Off"/>
- <!--
- <authentication mode="Forms">
- <forms name=".ASPXFORMSAUTH" loginUrl="~/default.aspx" timeout="120" defaultUrl="~/main.aspx" protection="All" path="/"/>
- </authentication>
- <authorization>
- <deny users="?"/>
- </authorization>
- -->
- </system.web>
- <!--<location path="res.axd">
- <system.web>
- <authorization>
- <allow users ="*" />
- </authorization>
- </system.web>
- </location>-->
- <!-- IIS7 Integrated Mode
- <system.webServer>
- <modules>
- <add name="FineUIScriptModule" type="FineUI.ScriptModule, FineUI"/>
- </modules>
- <handlers>
- <add name="FineUIResourceHandler" verb="GET" path="res.axd" type="FineUI.ResourceHandler, FineUI" validate="false"/>
- </handlers>
- <httpErrors errorMode="Detailed"/>
- <asp scriptErrorSentToBrowser="true"/>
- </system.webServer>
- -->
- </configuration>
复制代码 |