Saturday, March 24, 2012

ASP,NET AJAX Enabled site and script module error

Hi All,

I have an ASP.NET AJAX enabled site which works OK in my development environment but when I publish it and view the site I get the error below. I have also tried creating a fresh ASP.NET AJAX enabled site and then publishing it but still the same error. Thinking some files were missing I downloaded the MS AJAX setup on my server (Win2K3 64-bit SP1) but to no avail.

From my Googling I see there are some patches to fix various issues with AJAX but nothing I have found matches my problem. If anyone has any info on this error or could point me in the right direction that would be most appreciated.

Description:Anerror occurred during the processing of a configuration file requiredto service this request. Please review the specific error details belowand modify your configuration file appropriately.

Parser Error Message:Couldnot load file or assembly 'System.Web.Extensions, Version=1.0.61025.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of itsdependencies. The system cannot find the file specified.(xxxxx\web.config line 42)

Source Error:

Line 40:
Line 41: <httpModules>
Line 42: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 43: </httpModules>
Line 44: </system.web>

The AJAX assemblies are intended to be installed in the servers GAC, therefore they will not deploy in your apps bin folder.

Run the AJAX installation on the server to install the assemblies to the severs GAC.


Thanks for the prompt response. I had tried seveal times to download and install the same AJAX setup on my server. Though I thought I'd give it one last try after your comment and it nows works :)

No comments:

Post a Comment