It happened to me. This happened when I renamed the page and moved the aspx file to the project folders, but the code inside remained unrenamed.
Change the code inside:
public partial class foldername_unrenamedname : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } }
in current
public partial class newfoldername_renamedname : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } }
Also edit the Inherits property in the page tag:
Inherits="Newfoldername_renamedname"
Anonymous
source share