Object reference not set to an instance of an object.

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 27:         {
Line 28:             string userAgent = Request.UserAgent;
Line 29:             if (userAgent.ToLower().Contains("micromessenger"))
Line 30:             {
Line 31:                 if (Request.QueryString["u"].IsNullOrEmpty() == false)

Source File: e:\wwwroot\caronline\htdocs\plugins\Tianv_User\user\user-shippingaddress.aspx    Line: 29

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.plugins_tianv_user_user_user_shippingaddress_aspx.OnLoad(EventArgs e) in e:\wwwroot\caronline\htdocs\plugins\Tianv_User\user\user-shippingaddress.aspx:29
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +780


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