We are upgrading a VS solution from SP2010 to SP2013. We are using VS2010 and Windows Server 2012 OS.

Can you tell me where is the DLL for System.Web.UI.DataVisualization.Charting; located? The error I get is:-

Error 7592 The type or namespace name 'DataVisualization' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?) C:\dev\Project\MyPartsControl.ascx.cs

I was browsing for help and got this link which mentions to look under: c:\program files (x86)\Microsoft Chart Controls\Assemblies. There is no c:\program files (x86)\Microsoft Chart Controls directory in my computer.

2 Answers 2


It is present here

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5

When adding dll references click on Framework and scroll down, you should be able to see this: enter image description here

  • OK, I was trying to browse and search and I forgot to check it under Assembly->Framework :) Thanks
    – variable
    Mar 3, 2014 at 8:32


Do you reference it in your web.config

•under the controls tag (path: "< system.web>") :

< add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

•under "< httphandlers>") :

< add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.