error when open aspx files in VS 2003..

  • Thread starter Thread starter maya
  • Start date Start date
M

maya

when I try to open .aspx files in VS 2003, I get this alert:


The file could not be opened into the Web Forms designer
[although have set up so files open in edit/code mode..
not design mode..]
Please correct the following error and then try loading it again:

An exception occurred while trying to create an instance
of <solution/projectName>.BusinessObjects.BasePage.
The exception was "Object reference not set to
an instance of an object."

Make sure all of the classes used in the page
are built or referenced in the project.
Click Help.........."


(can't use Help b/c some MSDN stuff is not installed..)

Files open fine, but have to click 'ok' on this alert first..
(this does not happen with .ascx or .cs files, only .aspx files..)

would appreciate any suggestions/solutions (no pun intended...:)

thank you ..

-m
 
looks like your page has a reference to another page that you dont have
loaded.
look in your Page directive and anything that says "Register" (i think that
is the key word sorry its late actual syntax rusty)
 
Back
Top