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 217:            End Try
Line 218:
Line 219:            If (iObj Is Nothing Or iObj.Equals(System.DBNull.Value)) Then iObj = _onNullorNothing
Line 220:            Return iObj
Line 221:        End Function

Source File: d:\web\localuser\xplico.com\public_html\App_Code\DB\Xplico.DB.Base.vb    Line: 219

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Xplico.DB.DbFactoryBase.ExecuteScalar(IDbCommand _cmd, Object _onNullorNothing) in d:\web\localuser\xplico.com\public_html\App_Code\DB\Xplico.DB.Base.vb:219
   Main.Main_PreLoad(Object sender, EventArgs e) in d:\web\localuser\xplico.com\public_html\main.aspx.vb:70
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreLoad(EventArgs e) +126
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +617


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