“Object reference not set to instance of object” Most common error

While developing an application developers at beginning mostly get “Object reference not set to instance of object” error.

This error only comes if you use any of the server variable without assigning is value/defining the same. If we go with error in detail then stake trace shows that you use an object which has not been properly created/defined.

Please share your thoughts/queries as well. Thanks.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>