473,382 Members | 1,329 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,382 software developers and data experts.

Visual Studio .NET 2003 Bug, New Windows Application

Whenever I create a new windows application from Visual Studio .NET
2003 in either C# or VB.NET upon running the compiled code (debugging
or not) I receive a System.NullReferenceException immediately after the
application.run command. I'm not changing any of the code created by
the IDE, I'm simply building the default code.

File -> New Project -> Windows Application
Debug

Changing the color of the form averts the problem, but the same
exception occurs once the form loses and regains focus.

This doesn't happen in Visual Studio 2005 but I don't want to use .NET
2.0. I also have the Feb 2006 DirectX SDK installed and had installed
Visual Studio 2003 after Visual Studio 2005. I saw a post from several
years ago with the same problem and no solution was posted. Is there
some known conflict or bug?

Thanks in advance.

Mar 15 '06 #1
6 1176
> Whenever I create a new windows application from Visual Studio .NET
2003 in either C# or VB.NET upon running the compiled code (debugging
or not) I receive a System.NullReferenceException immediately after the
application.run command.


Was the problem NullReferenceException from an unknown module? If not,
ignore this post. I had the NullReferenceException unknown module problem
over a year ago, and it appeared to me to be a bug in the ide, not in the
app. I could never create the problem by running the app standalone (outside
the ide), and I could create it intermittently under the ide. I suggest you
try this too to see if the ide is to blame or not.

I haven't had the problem for over a year now, and I attributed that to
installing FW SP 1.1. Our configs are different. I have xp 5.1 with all
latest SPs and .net 2003 FW SP 1.1. I presume you have 2003 and 2005 on
installed on the same machine (I dont). I am running a Dell Dimension 4550
with Intel Pentium 4 at 2.4 GHz. Yours?

Sorry, no answers, just trying to pin down symptoms.
Mar 15 '06 #2
follow up:
uninstalling VS 2005, VS 2003, and .NET 1.1 SDK, and reinstalling did
NOT solve problem. I can't write any programs with this package and it
used to work fine. I'm completely stuck, and with a deadline.PLEASE
help.

Mar 16 '06 #3
follow up:
uninstalling VS 2005, VS 2003, and .NET 1.1 SDK, and reinstalling did
NOT solve problem. I can't write any programs with this package and it
used to work fine. I'm completely stuck, and with a deadline.PLEASE
help.

Mar 16 '06 #4
follow up:
uninstalling VS 2005, VS 2003, and .NET 1.1 SDK, and reinstalling did
NOT solve problem. I can't write any programs with this package and it
used to work fine. I'm completely stuck, and with a deadline.PLEASE
help.

Mar 16 '06 #5
follow up:
uninstalling VS 2005, VS 2003, and .NET 1.1 SDK, and reinstalling did
NOT solve problem. I can't write any programs with this package and it
used to work fine. I'm completely stuck, and with a deadline.PLEASE
help.

Mar 16 '06 #6
FIXED. Sort of....what a weird bug! First off I don't know why my
last reply got posted 4 times. I only hit Post once. Blame Google
Groups I guess.

Secondly, apparently there's a VS 2003 (my academic version anyways)
limitation on nested folders. The projects were created in the default
C:\Documents and Settings\Administrator\My Documents\Visual Studio
Projects\Project_Name folder. Moving the Visual Studio Projects folder
to the root c:\ drive solved the problem entirely. Go figure. Too bad
I figured it out after I spent a good 5 hours manually removing any
shred of .NET from my computer and then reinstalling all of it. The
reinstall did nothing. Any one else ever experience this issue before?

Mar 16 '06 #7

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

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
1
by: Mike | last post by:
Hello, I hope there is a solution to this. I am required to develop a service application using Visual Studio ..NET. I am required to develop it using C++. Originally we set out using...
21
by: Paul Tremblay | last post by:
Hi All, I am a veteran C/C++ programmer (Unix background) and I want to get to speed with Visual Studio .Net I have legacy C/C++ code that I want to use in my application. However, I'm not...
3
by: Kieran Kelly | last post by:
Is it possible to create a new Web Application Project using Visual Studio.Net 2003 on Windows 2003 Server but no in the Default Web Site. 1. I have created a new Web Site in IIS called WebSite2...
9
by: TD | last post by:
Which versions of Windows operating systems can you build applications for with Visual Studio 2003, in particular VB? How about Visual Studio 2005, in paricular VB? Thanks, TD
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.