Aspx can't view

  • Thread starter Thread starter bhang
  • Start date Start date
B

bhang

When I click the aspx page, system popup a window - "The file failed to load
in the web form designer. Please correct the following error, then load it
again: the designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
classes in the file: DtContact --- the base class 'System.web.UI.Page'
cannot be designed"

Thank in advance
 
Are you inheriting a class that doesn't inherit System.Web.UI.Page?

I'm getting a similar error b/c I'm trying to inherit from a different
assembly in my solution. I'm still looking for a fix or workaround. I just
posted my problem before I saw this entry.

Andrea
 
Hi Bhang,

I am getting the same message and could not figured it out yet. It happened once before and got fixed some how. Lately, I added a setup project within the web project. I do not know if this is the reason.

I created a new project and it works fine there. Let me konw if you figure it out.

Dev

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Back
Top