Solved

VS2003 -  Error:"Object reference not set to instance of an object"

Posted on 2009-07-08
2
183 Views
Last Modified: 2013-11-26
My computer at work was just replaced and I re-installed Visual Studio 2003, IIS 5.and .NET Framework 2.0  I created a new ASP.Net project. When I try to preview it in Internet Explorer (or if I start the project without debuggin)  I get the "Object reference not set to an instance of an object".
When I try to debug the app, I get "Error while trying to run project...Server side - error occurred on sending debug HTTP request".
I have tried a number of things but nothing seems to work.
I would appreciate some help with this.
Thanks!
0
Comment
Question by:lakhi
2 Comments
 
LVL 7

Accepted Solution

by:
alexpercsi earned 500 total points
ID: 24805512
Make sure the web site is configured to run under the version you coded in IIS. The application will fail to start if you attempt to run a .NET 1.1 application under the .NET 2.0 framework or vice-versa.
0
 

Author Comment

by:lakhi
ID: 24807882
This worked!! Thanks so much.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DataGridView Events ? 3 37
Get id from json Data with NewtonSoft 3 33
I need help making a collection from a class in VB.Net 3 25
Not seen Link button 5 14
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now