?
Solved

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

Posted on 2009-07-08
2
Medium Priority
?
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
alexpercsi earned 2000 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

765 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