I'm getting a security error. This page worked fine for many months. Then I changed the hosting to .net 4.0. Assembly="Infragistics35.Web.v10.3. Other sites using the same tab work fine under 4.0.
thanks
Stack Trace:
[SecurityException: Request failed.] Infragistics.Web.UI.LayoutControls.TabRenderer.RenderTabsTopBottom(HtmlTextWriter writer, Boolean horiz, Boolean design) +0 Infragistics.Web.UI.LayoutControls.TabRenderer.RenderHeaderTopBottom(HtmlTextWriter writer, Boolean top, Boolean left, Boolean horiz, Boolean design) +980 Infragistics.Web.UI.LayoutControls.TabRenderer.RenderContents(HtmlTextWriter writer) +1265 Infragistics.Web.UI.Framework.RunBot.HandleRenderContents(HtmlTextWriter writer, RendererBase renderer) +154 Infragistics.Web.UI.Framework.ControlMain.RenderContents(HtmlTextWriter writer) +57 Infragistics.Web.UI.Framework.ControlMain.Render(HtmlTextWriter writer) +15 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Control.Render(HtmlTextWriter writer) +10 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8 System.Web.UI.Page.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253 System.Web.UI.Page.ProcessRequest() +78 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.sitting_groups_aspx.ProcessRequest(HttpContext context) +37 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Hello Bob,
Could you provide us more detail information. What was the exact build number of the previous and current version. Can you paste your markup.
Thank you
Sure, thanks
<%@ Page Language="VB" MasterPageFile="~/secondary.master" AutoEventWireup="false" CodeFile="sitting_groups.aspx.vb" Inherits="sitting_groups" title="Sitting Groups" %> <%@ Register src="addressMap.ascx" tagname="addressMap" tagprefix="uc2" %> <%@ Register Assembly="Infragistics35.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.LayoutControls" tagprefix="ig" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <title>RMI Sitting Groups</title> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> <div id="content"> <div class="post"> <h1 class="title"> RMI Sitting Groups </h1> <p>Sitting groups meet at <a href="http://www.rockymountaininsight.org/map_to_RMI.asp"><b>RMI</b></a> and there is no fee to attend however, donations are greatly appreciated.</p> <ig:WebTab ID="WebTab1" runat="server" Width="588px" SelectedIndex="2"> <Tabs> <ig:ContentTabItem runat="server" Text="Monday"> <TabCssClasses TextCssClass="tabTextCss" /> <Template> <table width="95%"> <tr> <td> <h6> Monday Evening Sitting Practice, Time: 6:30 to 7:30 PM</strong></h6> </td> </tr> <tr> <td> <p> Practice Leader: Joan Norris<br /> Basic meditation instructions will be presented if needed</p> </td> </tr> </table> </Template> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Text="Tuesday">
everything in your code looks normal. Just be sure that you have installed the latest service release because the version you are using 10.3.20103.1013 was the first released. Also if you are using shared hosting you should use APTCA (Allow Partially Trusted Callers) assemblies
Please refer to this forum post: http://news.infragistics.com/forums/p/33299/181500.aspx