MoonLight MoonLight - 3 years ago 94
ASP.NET (C#) Question

Asp.Net Running a content page using master page error > TemplateContainer(typeof(MySite.MasterPage))

I created an empty web application >

.Net 4.6.2
VS 2015

I added a simple master page & a simple content page on this project.

When i open content page in browser i get the error below :

Line 174: [TemplateContainer(typeof(Panel.Site1))]

TemplateContainer Error

What this error mean & how can i fix it?

Answer Source

Name of your project or namespaces conflicting with ASP.NET form authentification class name: System.Web.Security.FormsAuthentication. According to me you are missing namespace name or any required reference.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download