Web Form Inheritance Error (Non-Abstract Superclass)
From: Scott Simms (msdn_at_sdg.beacon.com.au)
Date: 06/11/04
- Next message: Bill Thorpe: "Database Project with VS .NET 2003 Pro"
- Previous message: Oren Novotny: "Re: Opening VS 2003 invokes Windows Installer every time -- can't use IDE!"
- Next in thread: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- Reply: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 18:15:01 -0700
Implementing the page controller pattern in Visual Studio 2003 cause the Web Forms Designer to give the following error.
"The file could not be loaded into the Web Forms Designer. … The class 'App.Web.Client.Common.UI.BasePage' could not be loaded."
Specifically the code behind page inheritance is changed from System.Web.UI.Page to our own class App.Web.Client.Common.UI.BasePage which inherits from System.Web.UI.Page.
App.Web.Client.Common.UI.BasePage is NOT abstract and exists in the same assembly as the subclass.
I have attempted numerous things to get this working including:
* Installing the assembly that contains App.Web.Client.Common.UI.BasePage into the GAC
* Deleting the contents of C:\Documents and Settings\<UserName>\VSWebCache.
This is behaviour that was implemented and worked in Visual Studio 2002 on a number of project we have worked on.
Any ideas would be appreciated.
Thanks,
Scott Simms.
- Next message: Bill Thorpe: "Database Project with VS .NET 2003 Pro"
- Previous message: Oren Novotny: "Re: Opening VS 2003 invokes Windows Installer every time -- can't use IDE!"
- Next in thread: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- Reply: [MSFT]: "RE: Web Form Inheritance Error (Non-Abstract Superclass)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|