.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification