Showing posts with label void. Show all posts
Showing posts with label void. Show all posts

Monday, March 26, 2012

Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, Sy

It code worked fine on my PC..but gettting following message on server...

'Void System.Web.UI.ScriptManager.RegisterHiddenField(System.Web.UI.Page, System.String, System.String)'

i checked this threadhttp://forums.asp.net/p/1123792/1869084.aspx#1869084

but it doesn't help me...

Updating global assembly cache of server, solved this error

Some how installation is not updating GAC..so you have to do it manually


Hi,

I have the exact same problem. Can you please tell me how you were able to clear out the GAC and update it with the latest DLL? Just like you everything works on my PC but when it gets published to servers i get that same error.

Thanks,
Kam


just copy the following DLL's fromC:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 and paste it in folderc:\windows\assembly on server

System.Web.Extensions

System.Web.Extensions.Design

Hope it solves your problem, if not let me know


Hi,

Yup that fixed it perfectly. Thanks so much for the quick and accurate reply.

Kam

Void System.Web.UI.ScriptManager.RegisterHiddenField(

I've see this posted here by others and I'm getting the same thing with the samplewebsite and anything I do in a new project. I must have the latest vesions because I just downloaded them Sunday.

Gary

Can you please paste in the full error message...not enough info in the title.


Server Error in '/SampleWebSite' Application.
------------------------

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

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.RegisterHiddenField(System.Web.UI.Page, System.String, System.String)'.]
AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) +0
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


I just replaced the toolkit with the new one uploaded 6/18. It no longer is getting the missing method error however, the DropDown (the one that I was most intrested in) no longer works right on the sample website nor in my own project: The dropdown doesn't show.

Gary


Hi Gary,

Do other controls work fine? Did you see any javascript error?


This got solved on another thread. Turns out my ajax 1.0 wasn't the latest but works fine after getting the latest.

Thanks to all.

Gary