Could not load type 'System.Web.UI.ScriptReferenceBase'

Apr 29, 2010 at 8:16 AM

Hello EveryOne,

the control works fine on my machine but on deployment  server (windows server 2003) get this exception:

Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.   at MKB.TimePicker.TimeSelector.System.Web.UI.IScriptControl.GetScriptReferences()
   at System.Web.UI.ScriptControlManager.AddScriptReferenceForScriptControl(List`1 scriptReferences, IScriptControl scriptControl)
   at System.Web.UI.ScriptControlManager.AddScriptReferencesForScriptControls(List`1 scriptReferences)
   at System.Web.UI.ScriptManager.RegisterScripts()
   at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
   at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Any Help....

Coordinator
May 24, 2010 at 7:06 PM

AJAX Version issue....

 

Sep 6, 2010 at 1:58 PM

And what about this runtime error:

[HttpException (0x80004005): A ScriptManager control must exist on the page.]
MKB.TimePicker.TimeSelector.OnPreRender(EventArgs e) +237
System.Web.UI.Control.PreRenderRecursiveInternal() +103

.NET Framework 4.0 installed

Sep 7, 2010 at 7:59 AM

this helps (adding the scriptmanager contol):

   <form id="form1" runat="server">
    <asp:ScriptManager runat="server" ID="scriptManager" />