locked
Error ASPPARSE: Unknown server tag 'asp:CHART' RRS feed

  • Question

  • User978560076 posted
    Hi There

    I am trying to publish a web site but I am getting this error below. The web site builds fine but gets this error below when I publish.

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe Error ASPPARSE: Unknown server tag 'asp:CHART'

    Any help you be appreciated

    Thank You
    Tuesday, November 25, 2014 1:46 AM

Answers

  • User-1716253493 posted

    asp:chart not available in net 2.0, you need download and register it in web.config or page directive

    It's new feature for newer framwork

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2014 2:30 AM
  • User-1151753377 posted

    Hi voolster,

    Welcome to the ASP.NET forum

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe Error ASPPARSE: Unknown server tag 'asp:CHART'

    About this issue, I think first you could confirm that you set the code below in your web.config.

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

    Or you can register the controls on the page you are using them.

    Further information please refer to the link below.

    http://mnarinsky.blogspot.com/2010/06/aspnet-40-chart-control-breaks-iis-70.html

    Best Regards,

    Summer

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, November 26, 2014 12:53 AM

All replies

  • User-1599577208 posted

    Hello Member,

    The issue is already solved over here. You can have a look on this.

    http://forums.asp.net/t/1979115.aspx?MS+Chart+not+working+Unknown+server+tag+asp+Chart+

    If you still face problem then pease feel free to contact.

    Regards,

    Sagar Shete

    Tuesday, November 25, 2014 2:19 AM
  • User-1716253493 posted

    asp:chart not available in net 2.0, you need download and register it in web.config or page directive

    It's new feature for newer framwork

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2014 2:30 AM
  • User-1151753377 posted

    Hi voolster,

    Welcome to the ASP.NET forum

    C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe Error ASPPARSE: Unknown server tag 'asp:CHART'

    About this issue, I think first you could confirm that you set the code below in your web.config.

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

    Or you can register the controls on the page you are using them.

    Further information please refer to the link below.

    http://mnarinsky.blogspot.com/2010/06/aspnet-40-chart-control-breaks-iis-70.html

    Best Regards,

    Summer

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, November 26, 2014 12:53 AM