Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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.ArgumentNullException: Value cannot be null.
Parameter name: source

Source Error:


Line 73:     int id = ConvertType.ToInt(Request.Params["cid"]);
Line 74:     List<ProductInfo> list = new List<ProductInfo>();
Line 75:     list = ProductController.GetProductRelease(listRelease);
Line 76:     if (list.Count > 0) {
Line 77:       int i = 0;

Source File: d:\vhosts\machdien.vn\httpdocs\chi-tiet-san-pham.aspx.cs    Line: 75

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.Count(IEnumerable`1 source) +736724
   WebComponents.Data.ProductController.GetProductRelease(String[] products) in D:\Software\Canh\Anh Duoc\dienthuhongcuong\WebComponents\Entities\Store_Product\ProductController.cs:89
   chi_tiet_san_pham.Page_Load(Object sender, EventArgs e) in d:\vhosts\machdien.vn\httpdocs\chi-tiet-san-pham.aspx.cs:75
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.8762