I've seen a lot about this and never any good fixes - clean machine, XP SP2 - all service packs, .NET 1.1/2/3 and service packs, VS 2005 Pro SP1 and just downloaded and installed AJAX Extensions and none of my Ajax projects work not even new ones and of course I keep getting this useless error msg: and yes I do have the extensions dll in my bin folder.
Error 1 Could not load file or assembly 'Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Web.config 66
My web.config is correct because I have this running in 5 VM's and many production servers but also got this error on a couple of those and it just magically went away ...
Hi craig,
This is locally where you get the problem? Well, if the ajax extentions are installed on your local machine, then they shouldn't be in your bin folder. Since they are present in the GAC. (But, this couldn't be causing the error I guess ....)
Euhm, what about making a plain website and ajax enabling it? will that work?
Just place the system.web.extentions.dll and the system.web.extentions.design.dll in the bin, and paste the following in the web.config under the <system.web> tag:
<!--AJAX ENABLE WEBSITE--><httpHandlers><remove verb="*" path="*.asmx"/><add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/><add verb="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><httpModules><add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></httpModules><!--END AJAX ENABLING-->
What is the effect of this? Same error?
Can you also provide the error? Maybe the line in the web.config the error mentioned?
Kind regards,
Wim
I just figured it out and it makes no sense - I found an ASPAJAXExtSetup.msi that was released in Dec 2006 which to me looks "Identical" to the one I download a few days ago, it has the same version number etc but any machine I install this one on works first time .... including solving my local issue. Same version number! ...
thanks
-c
No comments:
Post a Comment