Click here to Skip to main content
14,669,422 members
Rate this:
Please Sign up or sign in to vote.
See more:
An exception of type 'System.NullReferenceException' occurred in logindemo.dll but was not handled in user code

Additional information: Object reference not set to an instance of an object
Updated 18-Mar-15 22:01pm
King Fisher 19-Mar-15 3:43am
Show your Code to find bugs.
Reshma Babu 19-Mar-15 4:01am
In logindemo class, some object might not be created using new operator.
You might have set that object to null, but using it later, without actually creating it(using new). Share the code to identify the bug
Subramanyam Shankar 19-Mar-15 5:03am
Your code should be able to handle the exceptions. Please add code to Catch the exception. The see from where the issue occurs in the stack trace. and see for which reference an object is not created and is null.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100