View Single Post
  #4 (permalink)  
Old May 27th, 2004, 10:40 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

The server is telling you "Parser Error Message: Could not load type 'Assg2.WebForm1'."

This is because you are adding a page but that page's base class doesn't exist in the assembly of you application. You can't just add a page unless it's either completely self contained (relies on no assembly based classes) or it uses classes that already exist in assemblies that are in the application's /bin folder.

It sounds as though you are not entirely clear on how the asp.net runtime functions with compiled code-behind.