Sunday, March 11, 2012

AJAX ScriptManager control error

some steps that I've followed that seem to work:

goto: C:\Documents and Settings\[your user name]\Application Data\Microsoft\VisualStudio\8.0\ReflectedSchemas and delete all the files in this folder.

if you dont already have VS SP1...

uninstall AJAX Extensions and then download/install SP1.

Re-install AJAX Extensions 1.0 (following the same step by step instructions in the manual)

this should clear you up. hope it helps



also i forgot to include this link for more info...

http://weblogs.asp.net/scottgu/archive/2006/12/15/asp-net-ajax-1-0-release-candidate-now-available.aspx


The error sure sounds like you haven't configured MS Ajax correctly. Are you sure you have registered the prefix correctly?

To get access to the scriptmanager, you need the following as aminimum in web.config:

<?xmlversion="1.0"?>

<configuration>

<system.web>

<pages>

<controls>

<addtagPrefix="asp"namespace="System.Web.UI"

assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,

PublicKeyToken=31bf3856ad364e35"/>

</controls>

</pages>

<compilation>

<assemblies>

<addassembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral,

PublicKeyToken=31bf3856ad364e35"/>

</assemblies>

</compilation>

<httpHandlers>

<addverb="GET,HEAD"path="ScriptResource.axd"

type="System.Web.Handlers.ScriptResourceHandler,

System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

validate="false"/>

</httpHandlers>

</system.web>

</configuration>

No comments:

Post a Comment