Solved

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

Posted on 2009-07-08
2
186 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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

828 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