Server Error in '/' Application.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IndexOutOfRangeException: There is no row at position 0.
  at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
  at System.Data.DataRowCollection.get_Item(Int32 index)
  at MLSWebService.MLSDataWebService.GetImageByMLSID(String MLSID_City_PostalCode) in E:\Project\MLSData\MLSDataWebService.asmx.cs:line 180
  --- End of inner exception stack trace ---

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.ServiceModel.FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IndexOutOfRangeException: There is no row at position 0.
  at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
  at System.Data.DataRowCollection.get_Item(Int32 index)
  at MLSWebService.MLSDataWebService.GetImageByMLSID(String MLSID_City_PostalCode) in E:\Project\MLSData\MLSDataWebService.asmx.cs:line 180
  --- End of inner exception stack trace ---

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FaultException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IndexOutOfRangeException: There is no row at position 0.
   at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
   at System.Data.DataRowCollection.get_Item(Int32 index)
   at MLSWebService.MLSDataWebService.GetImageByMLSID(String MLSID_City_PostalCode) in E:\Project\MLSData\MLSDataWebService.asmx.cs:line 180
   --- End of inner exception stack trace ---]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14508071
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +403
   Property.Property1.MLSDataWebServiceSoap.GetImageByMLSID(String MLSID_City_PostalCode) +0
   Property.Property1.MLSDataWebServiceSoapClient.GetImageByMLSID(String MLSID_City_PostalCode) +93
   Property.Controls.PropertyDemo.GetImages() +184
   Property.Controls.PropertyDemo.Page_Load(Object sender, EventArgs e) +431
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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