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 77:             If (searchWere = "") Then
Line 78:                 kBuffer.Append(dllSEO.pagesHTMLIntroText)
Line 79:                 kBuffer.AppendLine(dllSEO.getPageHTMLcode(searchKey, Request.UserAgent))
Line 80:             Else
Line 81:                 kBuffer.AppendLine("<div id=""motSearchLayer""><span class=""motSearchError"">Sorry, Service Temporarily Unavailable</span></div>")

Source File: C:\inetpub\wwwroot\mainsitew3cSeo.2fcommunication.com\search.aspx.vb    Line: 79

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   DueFCommunication.SEOby2Fcommunication.BingApiSearch.Search(String searchString, List`1 searchFilters, Boolean AsXML) +215
   DueFCommunication.SEOby2Fcommunication.clsSEO.getV3HtmlPage(String keyword, String userAgent) +833
   DueFCommunication.SEOby2Fcommunication.clsSEO.getPageHTMLcode(String keyword, String userAgent) +370
   myWebSite.mot.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\mainsitew3cSeo.2fcommunication.com\search.aspx.vb:79
   System.Web.UI.Control.OnLoad(EventArgs e) +105
   System.Web.UI.Control.LoadRecursive() +67
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3784


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