Solved

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

Posted on 2009-07-08
2
181 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
Comment Utility
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
Comment Utility
This worked!! Thanks so much.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

13 Experts available now in Live!

Get 1:1 Help Now