c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
.Net

[Solved] Unknown server tag ‘asp:Chart’

| | ASP-NET , chart

While running the application I had faced error message Unknown server tag ‘asp:Chart’ . This problem was resolved by registering the assembly in design page of flowchart.aspx.

Problem:

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Unknown server tag 'asp:Chart'.

Source Error:
Line 5: <asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
Line 6:
Line 7: <asp:Chart ID="Chart2" runat="server" Width="350">
Line 8: <Titles>
Line 9: <asp:Title Text="website visitors">
 Solved:
<%@ Register Assembly="System.Web.DataVisualization,Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>