Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / September 2004

Tip: Looking for answers? Try searching our database.

HELP - Object reference not set to an instance of an object - What

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PaulThomas - 23 Sep 2004 21:37 GMT
Using Visual Studio .Net "trying" to build a data driven web site on XP-Pro.  
Application was working, but after some code changes I get:
Object reference not set to an instance of an object.
HOW can I tell which Object is causing the problem?  Would it be terribly
hard for the error message to indicate which Object -or- at least the first
bad Object.   I have commented out all of my new code changes and still get
the error.  I have tried running the debugger with a breakpoint in the
PageLoad and in the btn_Clicked in the page that is active when the error
occurs - but, the debugger never stops at the breakpoints?
Thanks in advance,
Paul
Sujit D'Mello - 24 Sep 2004 03:35 GMT
When I've had such wierd problems, I always do a 'Rebuild Solution' and look
at the compiler output carefully for any warning messages. Sometimes assemby
mismatches could cause this problem. Also doing the 'Rebuild' clears out
everything and builds it from scratch. I can tell you for sure that has
helped me atleast a couple of times.

Best of luck

Sujit D'Mello

> Using Visual Studio .Net "trying" to build a data driven web site on XP-Pro.  
> Application was working, but after some code changes I get:
[quoted text clipped - 7 lines]
> Thanks in advance,
> Paul

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.