1
Reply

ASP.NET Project deployed on a remote server requires a Scrip

chitrakant

chitrakant

May 16 2013 1:42 PM
958
I built a project and I used a `HoverMenuExtender` on the page and for this I also added a `ScriptManager` on the page and my project is running successfully on my local system without any error but when I deploy it on the remote server then there is an error:


Server Error in '/mahasamund/JKKYKM' Application.

The control with ID 'UpdatePanel5_HoverMenuExtender' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

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.InvalidOperationException: The control with ID 'UpdatePanel5_HoverMenuExtender' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[InvalidOperationException: The control with ID 'UpdatePanel5_HoverMenuExtender' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
   System.Web.UI.ExtenderControl.get_ScriptManager() +223900
   System.Web.UI.ExtenderControl.RegisterWithScriptManager() +110
   AjaxControlToolkit.ExtenderControlBase.OnPreRender(EventArgs e) +52
   System.Web.UI.Control.PreRenderRecursiveInternal() +108
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394


Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456



In my code I used `ScriptManager` below the form tag.

Answers (1)