|
-
Feb 19th, 2003, 08:41 PM
#1
Thread Starter
New Member
Strange Error! system.nullreferenceexception
Hello
I am wondering if anyone can shed some light on the following error message:
"An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module.
Additional information: Object reference not set to an instance of an object."
Now, this happens everytime I try and run any application. I have opened Visual Studio requested to create a new Windows Application - I run the program and this occurs (I haven't even added a control or looked at the code). When i do add a control it still occurs - it happens with everything - i have downloaded sample projects from Microsoft and it happens, I have reinstalled vs.net, .net framework and Windows XP and still no luck - anyone have any ideas?
-
Feb 20th, 2003, 07:03 AM
#2
Frenzied Member
The thing which is common in every windows application is a reference to :
system
system.windows.forms
system.data
system.xml
system.drawing
these references for a console application are
system
system.data
system.xml
so, try buildin a console application and you may find out where is the reference problem. by the way, are you sure you have no corrupt installation?
-
Feb 20th, 2003, 09:25 AM
#3
Thread Starter
New Member
All sorted out now!
After reinstalling visual studio, Microsoft advised me that the uninstall does not remove everything - they told me to delete numerous registry keys, folders e.t.c and start from scratch - it now works! Only took them 3 months to let me know this but there we go. Thanks for your help anyway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|