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" %>
Post your comments / questions
Recent Article
- How to programmatically modifying the AppSetting value in web.config using c#?
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
- How to calculate the age from jQuery ui datepicker using c#?
- How to calculate days difference between two dates in c#?
- Changing date format in jQuery ui datepicker
- How to set value to nicedit textarea using jQuery?
- How to load data from json file in angular?
- cannot find module consider using '--resolvejsonmodule' to import module with json extension angular
Related Article