Could not load file or assembly System.Web.DataVisualization

Problem

You get the following error when running your deployed application:

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

This error usually occurs because the Microsoft Chart Controls for Microsoft .NET Framework 3.5 is not installed on your server.

Solution

Search for "download Microsoft Chart Controls for Microsoft .NET Framework 3.5" 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=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages