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 9:          string myBannerId = null;
Line 10:         
Line 11:         foreach (DictionaryEntry de in myAdDic)
Line 12:         {
Line 13:             if (de.Key.ToString() == "Keyword")

Source File: d:\HostingSpaces\asu-epic\asu-epic.org\wwwroot\banner.inc    Line: 11

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.en_aboutheepf_aspx.AdRotator1_AdCreated(Object sender, AdCreatedEventArgs e) in d:\HostingSpaces\asu-epic\asu-epic.org\wwwroot\banner.inc:11
   System.Web.UI.WebControls.AdRotator.OnAdCreated(AdCreatedEventArgs e) +111
   System.Web.UI.WebControls.AdRotator.OnPreRender(EventArgs e) +172
   System.Web.UI.Control.PreRenderRecursiveInternal() +88
   System.Web.UI.Control.PreRenderRecursiveInternal() +160
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883


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