Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted
Updated 18-Mar-15 22:01pm
v2
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900