the file could not be loaded into the web forms designer

hi
i am openign a project and on click ign to a file (aspx file ) i get this error

the file could not be loaded into the web forms designer. please correct the following error and then try laoding it again:
Type Abstract

make sure all of the classes used in the page are built or referenced in the project.click help for more info


can someone please please suggest what can i do to resolve ths..

thanks a lto
LVL 1
samir25Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PeterFearnCommented:
can you post the aspx and aspx.cs / aspx.vb so we can have a look?

cheers
apb2Commented:
I would say you are referencing a .net dll or project in your page that is not been included in your project.

if you are using vs.net the reference should be underlined. you'll have to add this reference

apb2

nauman_ahmedCommented:
check the HTML in the HTML Designer and make sure that it doesnt has invalid entries.

HTH, Nauman.
rnagliCommented:
If your page inherits from abstract class instead of System.Web.UI.Page class, or not abstact class inherited from Page, designer will not be able to load it.
You have 2 option:
Make your page parent class not abstract.
OR every time you need to open page in designer replace parent class of your page back to default System.Web.UI.Page, make your changes in designer and change it back to your parent class before compilation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
samir25Author Commented:
hi
this is a part of the big code...
this is .vb one
Imports System.IO
Imports DotNetNuke.Entities.Tabs
Imports DotNetNuke.UI.Skins

Namespace DotNetNuke.Framework
      ''' -----------------------------------------------------------------------------
    Public Class CDefault

        Inherits DotNetNuke.Framework.PageBase

        Public Comment As String = ""
        Public Title As String = ""
        Public Description As String = ""
        Public KeyWords As String = ""
        Public Copyright As String = ""
        Public Generator As String = ""
        Public Author As String = ""

        Protected ScrollTop As System.Web.UI.HtmlControls.HtmlInputHidden
        Protected SkinError As System.Web.UI.WebControls.Label
        Protected SkinPlaceHolder As System.Web.UI.WebControls.PlaceHolder

        Protected CSS As System.Web.UI.WebControls.PlaceHolder
        Protected FAVICON As System.Web.UI.WebControls.PlaceHolder

#Region " Web Form Designer Generated Code "

        'This call is required by the Web Form Designer.
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

        End Sub

#End Region

        ''' -----------------------------------------------------------------------------
        Public Property PageScrollTop() As Integer
            Get
                If ScrollTop.Value.Length > 0 AndAlso IsNumeric(ScrollTop.Value) Then
                    Return CInt(ScrollTop.Value)
                End If


and this is the aspx starting part..
<%@ Page CodeBehind="Default.aspx.vb" language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.CDefault" %>
<%@ Register TagPrefix="dnn"  Namespace="DotNetNuke.Common.Controls" Assembly="DotNetNuke" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
      <HEAD id="Head">
            <TITLE>
                  <%= Title %>
            </TITLE>

what is missing in it and what do i need to do?
pls explain

thanks a lot for reposnding
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.