By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,170 Members | 1,421 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,170 IT Pros & Developers. It's quick & easy.

Cannot view aspx in Designer

P: n/a
VMI
I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be
luckier here...
I have VS .net 2003 v1.1 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
This is a complete project so I can't move code around (like in the
solutions I've found) or recreate web Forms.

Thanks.

May 12 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"VMI" <VM*@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be
luckier here...
I have VS .net 2003 v1.1 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
This is a complete project so I can't move code around (like in the
solutions I've found) or recreate web Forms.

Thanks.


Is the page base class marked as abstract? If so, the designer can't create
the base classes in order to design on the derived class and you'll have to
remove the abstract from the classes.

HTH,
Mythran

May 12 '06 #2

P: n/a
VMI
It's not abstract.
I could see the pages in design view before, but somehow it stopped working
after installing VS 2005 and rebooting my PC.

Thanks.

"Mythran" wrote:

"VMI" <VM*@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be
luckier here...
I have VS .net 2003 v1.1 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
This is a complete project so I can't move code around (like in the
solutions I've found) or recreate web Forms.

Thanks.


Is the page base class marked as abstract? If so, the designer can't create
the base classes in order to design on the derived class and you'll have to
remove the abstract from the classes.

HTH,
Mythran

May 12 '06 #3

P: n/a
VMI
I did notice that the page base class (it affects all the aspx) were derived
from two other classes and the last one is derived from System.Web.UI.Page
(i.e. c1 is derived from c2. c2 is derived from c3, and c3 is derived from
System.Web.UI.Page).
Before VS 2005 I was able to see the pages through the designer, so I know
there's nothing wrong with the code. Does installing VS 2005 change any
parameter that I may now know about?

Thanks.

"VMI" wrote:
I posted this in the MS aspnet NG and nobody replied. Hopefully, I'll be
luckier here...
I have VS .net 2003 v1.1 and I'm trying to view some web pages in the
designer form. When I try to do this, I get this error:
"The designer could not be shown for this file because none of the classes
within it can be designed."
I could see these before, but then I rebooted my PC. The project compiles
and runs. What's going on?
This is a complete project so I can't move code around (like in the
solutions I've found) or recreate web Forms.

Thanks.

May 12 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.