Could not load file or assembly System.Web.Extensions

Problem

You get the following error when running your deployed application:

Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

This error usually occurs because the .Net framework 3.5 is not installed on your server.

Solution

Search for "download .NET Framework 3.5 SP1" on the Internet and download and install the framework from the Microsoft web site.

Additional Notes

http://www.microsoft.com/downloads/en/details.aspx?familyid=AB99342F-5D1A-413D-8319-81DA479AB0D7&displaylang=en

See Also

Part IX:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages