我收到了这个错误,但不知道它是什么意思:
System.Configuration.ConfigurationErrorsException: Exactly one
<siteMapNode>
element is required directly inside the<siteMap>
element.
你能帮助我吗?
最佳答案
可能是站点地图的东西......我用谷歌搜索并发现了这个:
http://forums.asp.net/t/1245553.aspx
The site map has to have a single root siteMapNode element, underneath which all other elements reside. So you have:
<siteMap> <siteMapNode title="Home" ...> all other nodes </siteMapNode> </siteMap>
This means that all nodes are at least a child of the root node. When displaying the Menu you can chose to not show the root node, or to show both it and the child nodes together.
关于.net - ASP.NET 站点地图配置错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/761756/