473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Cannot view aspx in Designer

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
3 1569

"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Yasutaka Ito | last post by:
Hi folks! I have a BaseForm class that inherits System.Windows.Forms.Form. It has a property, whose value I need supplied by the class that inherits it. The BaseForm usees the value supplied...
1
by: ericvdb | last post by:
Hi all, I'm trying to fill a PDF form with asp.net using the FDF Toolkit. I have a simple form with a textbox and a button. When the button is clicked, the pdf should open with the field filled...
4
by: Slimeman | last post by:
When I create a BasePage class in either the same or separate assembly, create a Web Form that inherits from BasePage, and then attempt to view my Web Form in the visual designer, I get the...
0
by: VMI | last post by:
I have VS .net 2003 v1.1.4322 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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.