Server Error in '/' Application.

Sequence contains no elements

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.InvalidOperationException: Sequence contains no elements

Source Error:


Line 17: 
Line 18:         MerchantInfo    = Feed1.Xml.<MerchantsResponse>.<Merchant>.<MerchantInfo>.First
Line 19:         MerchantRating  = Feed1.Xml.<MerchantsResponse>.<Merchant>.<MerchantRating>.<Rating>.First
Line 20:         MerchantReviews = Feed1.Xml.<MerchantsResponse>.<Merchant>.<MerchantReviews>.First
Line 21: 

Source File: G:\PleskVhosts\new.ibuyonline.com\httpdocs\Modules\ShopzillaMerchantInfo\MerchantInfo.ascx    Line: 19

Stack Trace:


[InvalidOperationException: Sequence contains no elements]
   System.Linq.Enumerable.First(IEnumerable`1 source) +335
   ASP.modules_shopzillamerchantinfo_merchantinfo_ascx.Page_Load(Object sender, EventArgs e) in G:\PleskVhosts\new.ibuyonline.com\httpdocs\Modules\ShopzillaMerchantInfo\MerchantInfo.ascx:19
   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.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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