cb1295
cb1295

Reputation: 753

Parse Error When Going To Web Application

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/

The Error I Am Getting

Upvotes: 0

Views: 270

Answers (2)

Darin Dimitrov
Darin Dimitrov

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

Related Questions