473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

error when open aspx files in VS 2003..

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
Jul 28 '06 #1
1 1535
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)

"maya" wrote:
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
Jul 29 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
2
by: Qiao Yun | last post by:
I used vc++.net (visual studio .net ) to open a project which can work well in vc++6.0. I succeeded in compiling the project in vc++.net in release mode . But when I tried to compile the project...
6
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked...
4
by: RM | last post by:
Had VS .Net 2002 installed on W2k Server SP3 and supported a number of web sites. Installed VS .Net 2003 on Friday and now all web sites using .Net & MS ACCESS get this strange error upon open. ...
5
by: Martin Robins | last post by:
I have never dabbled with ASP.NET until now so be warned! I have created a web application with the single default form: WebForm1.aspx and when I try to display it I get this error. My...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Alan Z. Scharf | last post by:
1. Getting above when try to open any aspx.files in VS.Net 2003. OS is Server 2003. 2. No apparent entry in Event Viewer either by time of error. 3. CLR debugger breaks at followinng point:
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
0
by: google | last post by:
Hi, after fighting with an issue in Visual Studio.NET 2003 in aspx, I've finally figured out what it is and maybe you might find it usefull. Symptoms: When you try to open a .aspx or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.