我尝试使用导航菜单和3个窗格创建一个非常基本的皮肤,然后创建了2个容器。所有页面都可以正常工作,但是当我尝试去管理员>网站设置显示以下错误。当我不使用这种皮肤时,它的作用。谢谢你的帮助。
A critical error has occured.
AssemblyVersion:7.3.1
PortalID:0
PortalName:NukeTest
UserID:1
UserName:demo
ActiveTabID:62
ActiveTabName:Site Settings
RawURL:/Admin/Site-Settings
AbsoluteURL:/Default.aspx
AbsoluteURLReferrer:http://localhost:34237/Admin/Security-Roles
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:f85ee8b1-180e-4616-959e-94da3bf9c20e
InnerException:Selection out of range Parameter name: value
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:Telerik.Web.UI.RadComboBox.PerformDataBinding
StackTrace:
Message:
DotNetNuke.Services.Exceptions.PageLoadException: Selection out of range
Parameter name: value ---> System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value
at Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource)
at Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e)
at Telerik.Web.UI.RadComboBox.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.RadComboBox.DataBind()
at DotNetNuke.Web.UI.WebControls.DnnSkinComboBox.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
皮肤的Ascx文件:
<%@ Control Language="C#" ClassName="index" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register Src="~/admin/Skins/logo.ascx" TagPrefix="uc1" TagName="logo" %>
<%@ Register Src="~/admin/Skins/search.ascx" TagPrefix="uc1" TagName="search" %>
<%@ Register Src="~/admin/Skins/nav.ascx" TagPrefix="uc1" TagName="nav" %>
<%@ Register Src="~/admin/Skins/copyright.ascx" TagPrefix="uc1" TagName="copyright" %>
<%@ Register Src="~/admin/Skins/terms.ascx" TagPrefix="uc1" TagName="terms" %>
<div id="upbg"></div>
<div id="outer">
<div id="header">
<div id="headercontent">
<h1>
<uc1:logo runat="server" ID="logo" />
</h1>
<h2>A free design by NodeThirtyThree</h2>
</div>
</div>
<uc1:search runat="server" ID="search" />
<div id="headerpic"></div>
<div id="menu">
<uc1:nav runat="server" ID="nav" />
</div>
<div id="menubottom"></div>
<div id="content">
<div id="contentPane" runat="server"></div>
<div class="divider1"></div>
<div id="primarycontainer">
<div id="primarycontentPane" class="primarycontent" runat="server"></div>
</div>
<div id="secondarycontentPane" class="secondarycontent" runat="server"> </div>
</div>
<div id="footer">
<div class="left">
<uc1:copyright runat="server" ID="copyright" />
</div>
<div class="right">
<uc1:terms runat="server" ID="terms" />
</div>
</div>
</div>