ERROR on my IDE VS.NET 2002

  • Thread starter Thread starter Sal Young
  • Start date Start date
S

Sal Young

I have VS.NET 2002 with SDK 1.0 and everything runs fine. I installed the
..NET SDK 1.1 and I want to reference the namespaces/dll from the SDK 1.1
instead of the SDK 1.0 but I get the following error.


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:
WebForm1 --- The base class 'System.Web.UI.Page' cannot be designed.
 
I don't believe you can use the .NET 1.1 SDK with VS.NET 2002. You need to
upgrade to 2003 to use 1.1.

Pete
 
Helllo Friends,
I am facing the same error when I double click on my file to open. I
can see the HTML view and code behind file but not the Design View
for my file.

I am using C#.NET, with VS.NET 2003 and Framework 1.1

Please help.
 
Make sure you are inheriting from the base ASP.NET class. Usually, VS.NET
will give you an error similar to "The designer could not be shown for this
file because none of the classes within it can be designed." Here is what
it should look like for a standard ASP.NET page:

public class WebForm1 : System.Web.UI.Page

Jason Bentley


medhaonline said:
Helllo Friends,
I am facing the same error when I double click on my file to open. I
can see the HTML view and code behind file but not the Design View
for my file.

I am using C#.NET, with VS.NET 2003 and Framework 1.1

Please help.



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---
 
Back
Top