0

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

cb1295
  • 733
  • 4
  • 18
  • 36

2 Answers2

1

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)
        {

        }

        ...
    }
}
Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • I actually already had this, but the problem was I had deleted the _ in front of Default by mistake, added it back in and it works. – cb1295 Jan 08 '12 at 18:27