Simple (presumably) .ASPX "inherits" query - TechRepublic
Question
June 17, 2009 at 03:34 PM
rokosz1

Simple (presumably) .ASPX “inherits” query

by rokosz1 . Updated 17 years ago

Hi all, I’m all right with ASP, newbie to ASPX.

I’ve done many searches for this and haven’t found an appropriate solution. Even MSDN gave me nothing.

Parser Error Message: Could not load type ‘myProj.ProjectPage.aspx’.

and then it red highlights the:
<%@ Page Language="vb" CodeBehind="PorjectPage.aspx.vb" AutoEventWireup="false" inherits="myProj.ProjectPage.aspx" %>
directive.

If I take it out, ng. If it try _default in the “inherits=”, ng. They both bring up the same error, just different “not a member of” results.

I’ve tried starting over with a clean ‘webform1.aspx’ (i’d borrowed code from an asp page for ‘projectpage’.

It seems like the aspx.vb file isn’t resolving (it is where its supposed to be). A search for misspelled names turned up nothing.

can anyone help?

This discussion is locked

All Comments