asp.net – HTTP错误500.23之后添加到我的本地网站dotless
发布时间:2020-05-23 11:50:33 所属栏目:asp.Net 来源:互联网
导读:嗨,我试图在本地的.net4网站上运行 dotless 我的网络配置如下所示: ?xml version=1.0 encoding=utf-8?configuration configSections section name=dotless type=dotless.Core.configuration.DotlessConfigurationSecti
|
嗨,我试图在本地的.net4网站上运行 dotless 我的网络配置如下所示: <?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler,dotless.Core" />
</configSections>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpHandlers><add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" /></httpHandlers></system.web>
<dotless minifyCss="false" cache="true" web="false" />
<system.webServer>
<handlers>
<add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
</handlers>
</system.webServer>
</configuration>
这是我得到的错误 HTTP Error 500.23 - Internal Server Error
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
Most likely causes:
This application defines configuration in the system.web/httpHandlers section.
你能帮忙吗? 解决方法添加< validation validateIntegratedModeConfiguration =“false”/>工作<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="dotless" type="dotless.Core.configuration.DotlessConfigurationSectionHandler,dotless.Core" />
</configSections>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpHandlers>
<add path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" />
</httpHandlers>
</system.web>
<dotless minifyCss="false" cache="true" web="false" />
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<handlers>
<add name="dotless" path="*.less" verb="GET" type="dotless.Core.LessCssHttpHandler,dotless.Core" resourceType="File" preCondition="" />
</handlers>
</system.webServer>
</configuration> (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net-mvc – 用于子操作的ASP.NET MVC路由匹配
- webservice的两种调用方式
- 从客户端调用asp.net ajax服务器控件的公共函数
- asp.net-mvc – 使用asp.net属性路由的根路径的默认路由
- asp.net – 可以在Visual Studio 2010中将任务列表项添加到
- asp.net – 为什么当使用ADO.NET实体数据模型映射数据库表时
- ASP.NET / MVC 4在64位IIS 7.5服务器上捆绑和缩小404问题
- 如何阻止.Net HttpWebRequest.GetResponse()引发异常
- asp.net-mvc-4 – SimpleMembership – 向UserProfile添加电
- asp.net-mvc – 在ASP.NET MVC应用程序中实现细粒度安全(即
推荐文章
站长推荐
- asp.net-mvc和webforms共存
- asp.net文件上传示例分享
- 如何检查ASP.Net中客户端(JavaScript)的Page.Val
- asp.net-mvc – 如何创建ELMAH SQL Server数据库
- mvc6与signalr的任何样品?
- ASP.net MVC验证突出显示和不正确的字段Jquery上
- asp.net-mvc – ASP.Net MVC输出缓存:指令或配置
- asp.net-core – 如何在Visual Studio 2015 RC中
- asp.net web-api – ASP.Net Web API模型绑定不工
- asp.net-mvc – nhibernate:具有相同标识符值的
热点阅读
