Hello, guys!
My host is running into a medium trust level (shared) and some components (as WebDataGrid) are working normally.
I'm having a problem with both components in the subject. When I try to load the WebDialogWindow (i.e.) I get the message below:
[No relevant source lines]
[SecurityException: Request failed.] Infragistics.Web.UI.LayoutControls.DialogWindowHeader.RenderContentsVisible(HtmlTextWriter writer) +0 Infragistics.Web.UI.LayoutControls.DialogWindowHeader.RenderContents(HtmlTextWriter writer) +327 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32 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 Infragistics.Web.UI.LayoutControls.DialogWindowRenderer.RenderHeader(HtmlTextWriter writer) +503 Infragistics.Web.UI.LayoutControls.DialogWindowRenderer.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.default_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\teste\f0bf235e\70281209\App_Web_dt4npnvi.0.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
For the WebUpload I get the same Security Exception error (with the stack trace different).
- All assemblies are inside the bin directory.- In my local environment (VS 2010) everything is working fine.- I create a new project just with these components and the error persists.
Please, help!
Thank you in advance!
HI jugeickjr,
Thank you for posting in the community.
I can suggest that you try setting the requirePermission attribute in your Web.config file in order to see if that makes a difference:
<configSections> <section name="infragistics.web" requirePermission="false" type="System.Configuration.SingleTagSectionHandler,System, version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/></configSections>
Please let me know if this helps.
Hello, thank you for the response!
I've tried to do what you suggest, but still get the same error message.
Any other idea?!
Thanks!