ASP.Net 2.0 and AJAX 1.0

If you’ve been using the ASP.Net Ajax framework since it more or less came out and have tried to download and get the latest and greatest version of it running. You most likely ended up getting the following error message:

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.

Well, after reading many a forum and trial and error, I got it to all work again. To think all of this to get the damned MaskedEditExtender to work 🙂 Here are the steps, they’re simple and with any luck anyone with this problems reading this entry will have an easier time then I.

  1. Unsinstall the AjaxExtentions if you have it installed on your system. You’ll see this in the add/remove programs under “Microsoft ASP.NET 2.0 AJAX Extensions 1.0” or something very close to it.
  2. Download the new extension from here:
  3. Install the extensions
  4. Download the AJAX Toolkit, you can find the link in the same place as mentioned above.
  5. Install them
  6. If you’re starting a project or website from scratch, you’re good to go now. If you already have a project that needs to be updated keep reading.
  7. In your project add a reference to System.Web.Extensions and System.Web.Extensions.Design
  8. Remove references to Microsoft.Web.Extensions and Microsoft.Web.Extensions.Design (if you have any)
  9. Remove references to AjaxControlToolkit (if you have it)
  10. Add a reference to AjaxControlToolkit (make sure you’re referencing the newly downloaded one)
  11. Go through your code and replace references to Microsoft.Web.Extensions with System.Web.Extensions
  12. Build and pray

If you still have issues, drop me a line, I might be able to help, but I’m not promising anything.

Good luck!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: