Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3601
umbraco v
4.0.2.1 (Assembly version: 1.0.3441.17657)
I'm seeing this error on roughly 1 in 5 searches. The host did a rough search on ScriptManager and refered me to here but I'm farily certain we're not using that widget. Where do I begin to look to resolve this? An entry from my log showing the ScriptManager error follows the asp.net error page. I do not see this behavior on my offline/production environment. Can overly-aggressive application pool recycling cause this error? Much, much thanks!
Server Error in '/' Application.
Cannot
unregister UpdatePanel with ID 'xsltUpdatePanel' since it was not
registered with the ScriptManager. This might occur if the UpdatePanel
was removed from the control tree and later added again, which is not
supported. Parameter name: updatePanel
Description: An
unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the
error and where it originated in the code.
Exception Details: System.ArgumentException:
Cannot unregister UpdatePanel with ID 'xsltUpdatePanel' since it was
not registered with the ScriptManager. This might occur if the
UpdatePanel was removed from the control tree and later added again,
which is not supported. Parameter name: updatePanel
Source Error:
The source code that generated this unhandled exception can only be
shown when compiled in debug mode. To enable this, please follow one of
the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
Note that this second technique will cause all files within a given
application to be compiled in debug mode. The first technique will
cause only that particular file to be compiled in debug mode.
Important:
Running applications in debug mode does incur a memory/performance
overhead. You should make sure that an application has debugging
disabled before deploying into production scenario.
Stack Trace:
[ArgumentException: Cannot unregister UpdatePanel with ID 'xsltUpdatePanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel] System.Web.UI.PageRequestManager.UnregisterUpdatePanel(UpdatePanel updatePanel) +690898 System.Web.UI.UpdatePanel.OnUnload(EventArgs e) +68 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +154 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +307 System.Web.UI.Page.UnloadRecursive(Boolean dispose) +24 System.Web.UI.Page.ProcessRequestCleanup() +55 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11035098 System.Web.UI.Page.ProcessRequest() +91 System.Web.UI.Page.ProcessRequest(HttpContext context) +240 ASP.default_aspx.ProcessRequest(HttpContext context) +9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
Error Administrator 11/25/2009 11:23:09 PM At /cn/search.aspx (Referred by: http://www.<domainname>.com/en/home.aspx): System.Web.HttpException: Control 'ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_DocumentContentPlaceHolder_PageHeadContentPlaceHolder_umbSearchTabbedResults_8_scm1' of type 'ScriptManager' must be placed inside a form tag with runat=server. at System.Web.UI.Page.VerifyRenderingInServerForm(Control control) at System.Web.UI.PageWrapper.System.Web.UI.IPage.VerifyRenderingInServerForm(Control control) at System.Web.UI.PageRequestManager.Render(HtmlTextWriter writer) at System.Web.UI.ScriptManager.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at umbraco.presentation.templateControls.Macro.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at umbraco.presentation.urlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at umbraco.presentation.masterpages._default.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at umbraco.UmbracoDefault.Render(HtmlTextWriter output) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Your first question is mine, too. I'm not a .NET savant, but I'm referring to a search control that is on the top of every page (at http://www.drakaep.com/) The first search request usually works; it's the second or third when you'll hit that error. (Just now it was the third search for "cables") I don't know if that helps to answer your question?
BTW, here was the fix (thanks to Doug Robar) I had set the cache for the search results page to "3600" whereas (obviously, eyeroll!) it should be "0" noted for future googlers and noobs like me.
The search looks like its being performed by custom lucene search package I did a quick view of the page using &umbDebugShowTrace=true and it does not look like any of the existing search packages that our available via our umbraco. do you know who implemented the search?
Intermittent search errors
I'm seeing this error on roughly 1 in 5 searches. The host did a rough search on ScriptManager and refered me to here but I'm farily certain we're not using that widget. Where do I begin to look to resolve this? An entry from my log showing the ScriptManager error follows the asp.net error page. I do not see this behavior on my offline/production environment. Can overly-aggressive application pool recycling cause this error? Much, much thanks!
Server Error in '/' Application.
Cannot unregister UpdatePanel with ID 'xsltUpdatePanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Parameter name: updatePanel
Exception Details: System.ArgumentException: Cannot unregister UpdatePanel with ID 'xsltUpdatePanel' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
Error Administrator 11/25/2009 11:23:09 PM At /cn/search.aspx (Referred by: http://www.<domainname>.com/en/home.aspx): System.Web.HttpException: Control 'ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_DocumentContentPlaceHolder_PageHeadContentPlaceHolder_umbSearchTabbedResults_8_scm1' of type 'ScriptManager' must be placed inside a form tag with runat=server. at System.Web.UI.Page.VerifyRenderingInServerForm(Control control) at System.Web.UI.PageWrapper.System.Web.UI.IPage.VerifyRenderingInServerForm(Control control) at System.Web.UI.PageRequestManager.Render(HtmlTextWriter writer) at System.Web.UI.ScriptManager.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at umbraco.presentation.templateControls.Macro.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at umbraco.presentation.urlRewriter.FormRewriterControlAdapter.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at umbraco.presentation.masterpages._default.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at umbraco.UmbracoDefault.Render(HtmlTextWriter output) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I'm not sure I understand how this error occurs? Which search function are you referring to?
/Thomas Kahn
Thomas;
Your first question is mine, too. I'm not a .NET savant, but I'm referring to a search control that is on the top of every page (at http://www.drakaep.com/) The first search request usually works; it's the second or third when you'll hit that error. (Just now it was the third search for "cables") I don't know if that helps to answer your question?
BTW, here was the fix (thanks to Doug Robar) I had set the cache for the search results page to "3600" whereas (obviously, eyeroll!) it should be "0" noted for future googlers and noobs like me.
Much thanks!
Kyle,
The search looks like its being performed by custom lucene search package I did a quick view of the page using &umbDebugShowTrace=true and it does not look like any of the existing search packages that our available via our umbraco. do you know who implemented the search?
Regards
Ismail
Ismail: all is fixed, thanks for asking! (See my note in this thread for the fix)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.