Reputation: 753
I am getting a parse error when I go to my web application. I am not sure how to solve this, as I am new to WebApps. I have read some things about adding it into the right namespace, is that what I need to do? How would I do that?
You can see the error below or go to the page itself: hyperslurp.com/ccrm/
Upvotes: 0
Views: 270
Reputation: 1579
There are some other answers that might help you. Check out:
My control is "not allowed here because it does not extend class 'System.Web.UI.UserControl'"
Upvotes: 1
Reputation: 1038940
As the error message suggests, it seems that your codebehind page doesn't derive from System.Web.UI.Page
. So make sure that this is the case with the Default.aspx.cs
file:
namespace CompostCrew
{
public partial class _Default: System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
...
}
}
Upvotes: 1