Server Error in '/intranett' Application.

No ad found

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.Exception: No ad found

Source Error:


Line 70:             if (tbl.Rows.Count == 0)
Line 71:             {
Line 72:                 throw new Exception("No ad found");
Line 73:             }
Line 74: 

Source File: c:\webofficeone\branches\production\frontend-webofficeone\ads.ashx    Line: 72

Stack Trace:


[Exception: No ad found]
   Ads.ProcessRequest(HttpContext context) in c:\webofficeone\branches\production\frontend-webofficeone\ads.ashx:72
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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