Server Error in '/' Application.

Value cannot be null.
Parameter name: url

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.ArgumentNullException: Value cannot be null.
Parameter name: url

Source Error:


Line 19:             if(adver!=null)
Line 20:             {
Line 21:                 Response.Redirect(adver.url);
Line 22:             }
Line 23: 

Source File: h:\root\home\azam772-001\www\denzh\adver.aspx.cs    Line: 21

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: url]
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +9753884
   System.Web.HttpResponse.Redirect(String url) +14
   adver.Page_Load(Object sender, EventArgs e) in h:\root\home\azam772-001\www\denzh\adver.aspx.cs:21
   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.9224.0