本文介绍了无法识别的配置节页面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我在web.config文件中收到错误,在下面的代码中声明为无法识别的配置部分页面。 : - < 页 controlRenderingCompatibilityVersion = 3.5 clientIDMode = AutoID > < controls > <! - 注册BotDetect标记前缀,以便在所有页面中使用 - > < add 汇编 = BotDetect namespace = BotDetect.Web.UI tagPrefix = BotDetect / > ; < add tagPrefix = asp 命名空间 = System.Web.UI.DataVisualization.Charting 程序集 = System.Web.DataVisualization,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35 / > < / controls > < / pages > 有谁知道背后的原因 谢谢 我尝试过: 1)更改 controlRenderingCompatibilityVersion 值从3.5到4.0 2)删除整个标签 3)删除 < controls > 内部部分即 < add assembly = BotDetect namespace = BotDetect.Web.UI tagPrefix = BotDetect / > < add tagP refix = asp 命名空间 = System.Web.UI.DataVisualization。图表 汇编 = System.Web.DataVisualization,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35 / > 解决方案 参考 - 页面元素(ASP.NET设置架构) [ ^ ]。 页面应该在里面... < system.web > Hi,I'm getting error in web.config file, stating as "Unrecognized configuration section pages." in the below code:-<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"> <controls> <!-- Register the BotDetect tag prefix for easier use in all pages --> <add assembly="BotDetect" namespace="BotDetect.Web.UI" tagPrefix="BotDetect"/> <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> </controls></pages>Does anyone know the reason behind itThanksWhat I have tried:1) Change the controlRenderingCompatibilityVersion value from 3.5 to 4.02) Remove the whole tag3) Remove the <controls> inside part i.e <add assembly="BotDetect" namespace="BotDetect.Web.UI" tagPrefix="BotDetect"/> <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 解决方案 Refer - pages Element (ASP.NET Settings Schema)[^].Pages should go inside... <system.web> 这篇关于无法识别的配置节页面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!