Error loading product page.

Non-invocable member 'System.Collections.ArrayList.Count' cannot be used like a method.



at CallSite.Target(Closure , CallSite , Object ) at TemplateNamespace.Template.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at RazorEngineCore.RazorEngineCompiledTemplate`1.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at RazorEngineCore.RazorEngineCompiledTemplate`1.Run(Action`1 initializer) at Vianett.Publishing.Template.base_helper.RunCompileRazorTemplate(String templateKey, String xml, Object viewBag, Boolean retry) in C:\projects\frigg\Website\Template\baseclass\base_helper.cs:line 1840 at Vianett.Publishing.Template.ItemTemplateXMLParser.ParseItemControl(Int32 systemID, Int32 ecommerceSystemID, String dynamicXml, DataRow row, Int32 sourceWebsiteCategoryID, Int32 iteration, HttpContext context, Product product, String dateFormat, String oddEven, Int64 postID, Int32 productID, Int32 articleID, String placeHolderID, Boolean replaceEmptyValue, Boolean skipRazor) in C:\projects\frigg\Website\Template\Convert\ItemTemplateXMLParser.cs:line 358 at Vianett.Publishing.Web.PostTemplateModule.Page_Load(Object sender, EventArgs e) in C:\projects\frigg\Website\Web\usercontrol\mainmodule\ItemModule\PostTemplateModule.ascx.vb:line 75