Server Error in '/' Application.

Data is Null. This method or property cannot be called on Null values.

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.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.

Source Error:


Line 36:                 else
Line 37:                 {
Line 38:                     lblISSNNo.Text = mread.GetString(3).ToString();
Line 39:                 }
Line 40: 

Source File: e:\hostingspaces\lyakkald\olddrji.lbp.world\wwwroot\IndexingCertificate.aspx.cs    Line: 38

Stack Trace:


[SqlNullValueException: Data is Null. This method or property cannot be called on Null values.]
   System.Data.SqlClient.SqlBuffer.get_String() +1809179
   System.Data.SqlClient.SqlDataReader.GetString(Int32 i) +132
   IndexingCertificate.Page_Load(Object sender, EventArgs e) in e:\hostingspaces\lyakkald\olddrji.lbp.world\wwwroot\IndexingCertificate.aspx.cs:38
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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