No i'm getting a different exception in the dashboard now:
[FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.]
System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) +14350248
System.String.Format(IFormatProvider provider, String format, Object[] args) +136
InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerDomain.get_UrlWithDomain() +278
InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel.get_CalculatedOldUrlWithDomain() +395
InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel.get_CalculatedOldUrl() +17
[TargetInvocationException: Property accessor 'CalculatedOldUrl' on object 'InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel' threw the following exception:'Index (zero based) must be greater than or equal to zero and less than the size of the argument list.']
System.ComponentModel.ReflectPropertyDescriptor.GetValue(Object component) +8829651
System.Web.UI.WebControls.BoundField.TryGetSimplePropertyValue(Object dataItem, Object& data) +122
System.Web.UI.WebControls.BoundField.GetValue(Control controlContainer) +146
System.Web.UI.WebControls.BoundField.OnDataBindField(Object sender, EventArgs e) +71
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +304
System.Web.UI.Control.DataBindChildren() +12659735
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +295
System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +4780
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +95
System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +19
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +222
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +313
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +146
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +192
System.Web.UI.Control.EnsureChildControls() +189
System.Web.UI.WebControls.GridView.get_Rows() +54
InfoCaster.Umbraco.UrlTracker.UI.UrlTrackerManager.OnPreRender(EventArgs e) +385
System.Web.UI.Control.PreRenderRecursiveInternal() +113
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297
Got error while going to dashboard in content section
I got this stacktrace when i went to the content section's dasbhoard tab after upgrading from 1.5.1 to 2.0 beta:
After debugging the code i found that in UrlTrackerModels, CalculateOldUrlWithDomain the call
domain = domains.SingleOrDefault(x => x.NodeId == redirectRootNode.Id);
Should be replaced with
domain = domains.FirstOrDefault(x => x.NodeId == redirectRootNode.Id);
Since we're running with multiple domains on the site-node this was causing the exception
Thanks for reporting Jeroen!
I didn't take multiple hostnames per node into account and will upload a fixed version within one or two hour(s) :-)
Hm when trying to edit a entry i get a similar error. The POST of the updatepanel responds
with 48|error|500|Sequence contains more than one matching element|
Did a quick peek in the source to find the source of it but couldn't find it
Well yes the same sort of code is used in multiple locations, including the edit views.
v2.0.1-beta should fix this, can you confirm?
No i'm getting a different exception in the dashboard now:
#H5IS
v2.0.2-beta should fix this :P
Yep, that does the trick!
Awesome, can you mark this thread resolved? :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.