Configuration Error
Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (D:\Web_Sites\Arctic\aid-0173\web.config line 39)
Source Error:
Line 37: </httpHandlers>Line 38: <httpModules>Line 39: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 40: Line 41: </httpModules>
Here is the error we are getting? The application works fine on our local computers, what is causing this? Please, don't tell us we have to have our IT department install anything on the servers either.
I am about to answer my own post in record time!
I have the solution for you!
Get the following dlls from
C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025
AJAXExtensionsToolbox.dll
System.Web.Extensions.dll
System.Web.Extensions.Design.dll
Once you have done that make sure you have the following files in your bin.
They came with the new install of AJAX.
Also we have to make sure that in our web.config under assemblies the PublicKeyToken portion is all Caps!
Good
PublicKeyToken=31BF3856AD364E35
Bad
PublicKeyToken=31bf3856ad364e35
We did this and are up and running now on our production server!If you can run in full trust, then you can copy the binaries to the /bin directory.
Otherwise, yes, you will need to have the IT department install on the servers. (This is very much preferred... it allows for things like security patches to get to you via Windows Update.)
Thank you so much! Your suggestion solved my problem.
No comments:
Post a Comment