Server Error in '/' Application.

Index was outside the bounds of the array.

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.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:


Line 71:             
Line 72:             TSBMLSService.SearchResults[] oSearch = sc.GetPropertiesByID(tsx,"8435d15682f8498b9ba74cac133875da","828181828385");
Line 73:             lbResortName2.Text = oSearch[0].ListingCompany;
Line 74:             Label2.Text = "$" + oSearch[0].Price;
Line 75: 

Source File: f:\hostingspaces\timesha3\timesharebrokersmls.com\wwwroot\Listing.aspx.cs    Line: 73

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   Listing.Page_Load(Object sender, EventArgs e) in f:\hostingspaces\timesha3\timesharebrokersmls.com\wwwroot\Listing.aspx.cs:73
   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.4494.0