Dynamic Data Error:Error :Could not load type 'ASP.DefaultEntityTemplate'.__ RRS feed

  • Question

  • Hi  following Pluralsight course I created Asp.Net Dynamic Entities Website in VS 2013. I added the package Microsoft.Aspnet.DynamicData.EFProvider from NuGet. I am getting compile error: Could not load type 'ASP.DefaultEntityTemplate'. This error points to Default.ascx template page directive. 

    <%@ Control Language="C#" CodeBehind="Default.ascx.cs" 
        Inherits="ASP.DefaultEntityTemplate" %>

    and the code behind declaration is:

    namespace ASP {
        public partial class DefaultEntityTemplate :
            System.Web.DynamicData.EntityTemplateUserControl {
            private MetaColumn currentColumn;

    Thursday, July 4, 2019 2:48 AM

All replies

  • Hi kobosh3 free lance,

    Thank you for posting here.

    Based on your question, your issue is more related to ASP.NET. Therefore, it will be more appropriate to ask your question in ASP.NET Forums.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Thursday, July 4, 2019 6:19 AM