Object Reference not set error… First POST.Posted: July 8, 2008
My first post needed to start with an error message. I thought this is one most common error message that you might face when running an aspx page or hosted WCF client. I have given the solution for this below..
Server Error in ‘/myservice’ Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
try running aspnet_regiis -i