This is a migrated thread and some comments may be shown as answers.

Error in deployment

5 Answers 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jebamalai
Top achievements
Rank 1
Jebamalai asked on 23 Sep 2008, 10:02 AM

Dear all,

I am using the Telerik RAD controls fo rASP.NET AJAX Grid.

In the development machine I haven't get any problems event though I haven't have the AJAX installed in that machine.

While deployment (for testing) I am facing the following error:

Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.

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.MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.

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:

[MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.]
            Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control) +0
            Telerik.Web.UI.RadCompositeDataBoundControl.RegisterCssReferences() +64
            Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +63
            Telerik.Web.UI.RadGrid.OnPreRender(EventArgs e) +26
            System.Web.UI.Control.PreRenderRecursiveInternal() +86
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Control.PreRenderRecursiveInternal() +170
            System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
            


Can any one help me in this regard to solve this?

This is very urgent.

Thanks a lot in advance

5 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 23 Sep 2008, 10:19 AM
Hello Jebamalai,

You have old version of Microsoft ASP.NET AJAX. Please reinstall it!

Sincerely yours,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jebamalai
Top achievements
Rank 1
answered on 26 Sep 2008, 06:33 AM
Dear Vlad,


Thank you for your information.

I tried to install the latest version of the AJAX and could found the right dll.

Can you send me the dlls for me?


0
aabrown
Top achievements
Rank 1
answered on 30 Oct 2008, 01:36 PM
I am having the same problem.  I uninstalled Microsoft ASP.NET 2.0 AJAX Extensions 1.0 and then reinstalled the latest version.  The problem did not go away.

I am using RadControls for ASP.NET AJAX 1Q 2008 SP1.

The page contains a Telerik Grid control.  I am also having the problem on a page that only contains a DateTimePicker control.  I receive the error on our development server but it works fine on my local machine.

My error message is:

Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.

Stack Trace:

[MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.]
   Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control) +0
   Telerik.Web.UI.RadCompositeDataBoundControl.RegisterCssReferences() +63
   Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +63
   Telerik.Web.UI.RadGrid.OnPreRender(EventArgs e) +26
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

0
Sebastian
Telerik team
answered on 30 Oct 2008, 01:57 PM
Hello aabrown,

It seems that your web site is not configured to be AJAX-enabled or you are still using an old version of Microsoft ASP.NET AJAX Extensions 1.0. Make sure that your ASP.NET AJAX-enabled web site is configured properly (having the necessary configuration elements in the web.config) and you uninstalled the old version of the AJAX extensions and installed the latest one.
 
Kind regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
aabrown
Top achievements
Rank 1
answered on 30 Oct 2008, 02:56 PM
Hi Stephen,

I have verified that the site is AJAX enabled.  The web.config is setup the same as the examples are that come with the AJAX extensions framework.  I uninstalled AJAX extensions and reinstalled with the latest version available.  The problem persisted.

I did find a solution (work around) to the issue.  I changed the page to use the ajaxToolkit:ToolkitScriptManager instead of the asp:ScriptManager.

Thanks,
Andy
Tags
Grid
Asked by
Jebamalai
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Jebamalai
Top achievements
Rank 1
aabrown
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or