Server Error in '/' 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.

Source Error:


Line 152:                                  If oNode.HasChildNodes = True Then
Line 153:                                      species = oNode.SelectNodes("/IndexFungorum/NAME_x0020_OF_x0020_FUNGUS").Item(0).InnerText
Line 154:                                      authors = oNode.SelectNodes("/IndexFungorum/AUTHORS").Item(0).InnerText
Line 155:                                      specieslabel.Text = species
Line 156:                                  End If

Source File: C:\inetpub\wwwroot-tropicallichens\default.aspx    Line: 154

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.default_aspx.ShowLargeFrame() in C:\inetpub\wwwroot-tropicallichens\default.aspx:154
   ASP.default_aspx.Page_Load() in C:\inetpub\wwwroot-tropicallichens\default.aspx:52
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.<LoadRecursiveAsync>d__246.MoveNext() +281
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +32
   System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +6641


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0