Search:
Namespaces
Discussions
.NET v1.1
Feedback
URGENT Error!
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngvs' list
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Greg Bernhardt
-- Moved from [aspngclient] to [aspngvs] by Marcie Jones <
Click here to reveal e-mail address
> --
All of a sudden everytime I add a new item (an aspx page) to my solution in
Visual Studio .NET and try to run the page I get this error:
Could not load type 'WebApplication4.WebForm2'.
It now happens in every project (numbers are different obviously). HELP!
thanks,
Greg
Reply to this message...
Hue Phung
I got the same problem
I used to do:
1.Delete new form add another one
2.right click on form go to properties set: Flow Lay out instead of grid
3.Try run itself first before adding anycode by clicking F5 only
4. When you have any button want to write a function JUST double click
on that button then go to code behind it's already there.
5.Double check on Root name and namespace: should be same name
6.After run check on bin folder to see it should create .dll automatically
-----Original Message-----
From: Greg Bernhardt [mailto:
Click here to reveal e-mail address
]
Sent: Monday, July 08, 2002 10:48 AM
To: aspngvs
Subject: [aspngvs] URGENT Error!
-- Moved from [aspngclient] to [aspngvs] by Marcie Jones
<
Click here to reveal e-mail address
> --
All of a sudden everytime I add a new item (an aspx page) to my solution in
Visual Studio .NET and try to run the page I get this error:
Could not load type 'WebApplication4.WebForm2'.
It now happens in every project (numbers are different obviously). HELP!
thanks,
Greg
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
dave wanta (VIP)
did you compile the application before you viewed the page?
----- Original Message -----
From: "Greg Bernhardt" <
Click here to reveal e-mail address
>
To: "aspngvs" <
Click here to reveal e-mail address
>
Sent: Monday, July 08, 2002 12:47 PM
Subject: [aspngvs] URGENT Error!
> -- Moved from [aspngclient] to [aspngvs] by Marcie Jones
<
Click here to reveal e-mail address
> --
[Original message clipped]
Reply to this message...
Ben Miller
Make sure that you check your namespace and Class name in the Codebehind.
In the <% Page %> directive it indicates the Inherits="" and it corresponds
to what it thinks is in the codebehind and sometimes they do not match. So
if they do not match, make sure that they do and then recompile and you
should be fine.
Ben Miller
----- Original Message -----
From: "Greg Bernhardt" <
Click here to reveal e-mail address
>
To: "aspngvs" <
Click here to reveal e-mail address
>
Sent: Monday, July 08, 2002 11:47 AM
Subject: [aspngvs] URGENT Error!
> -- Moved from [aspngclient] to [aspngvs] by Marcie Jones
<
Click here to reveal e-mail address
> --
[Original message clipped]
Reply to this message...
John Hamman {Hamman Interactive}
Recompile.
Thats what i get when i dont compile befor viewing in browser.
john
-----Original Message-----
From: Greg Bernhardt [mailto:
Click here to reveal e-mail address
]
Sent: Monday, July 08, 2002 1:48 PM
To: aspngvs
Subject: [aspngvs] URGENT Error!
-- Moved from [aspngclient] to [aspngvs] by Marcie Jones
<
Click here to reveal e-mail address
> --
All of a sudden everytime I add a new item (an aspx page) to my solution in
Visual Studio .NET and try to run the page I get this error:
Could not load type 'WebApplication4.WebForm2'.
It now happens in every project (numbers are different obviously). HELP!
thanks,
Greg
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com