Every time I try to go to the Trip Report forum I get this message.
Error
Description: Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror and where it originated in the code.
Exception Details: System.ArgumentException: An item with the same key has already been added.
Source Error:
The source code that generated this unhandled exception can only beshown when compiled in debug mode. To enable this, please follow one ofthe below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a givenapplication to be compiled in debug mode. The first technique willcause only that particular file to be compiled in debug mode.
Important:Running applications in debug mode does incur a memory/performanceoverhead. You should make sure that an application has debuggingdisabled before deploying into production scenario.
Stack Trace:
[ArgumentException: An item with the same key has already been added.]
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +48
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +160
System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +23
PopForums.Data.SqlPopForumsProvider.GetUserTopicLastReadTimes(PopForumsUser user, List`1 topics) in C:\Documents and Settings\Jeff\Desktop\PopForums8\PopForums\Data\SqlPopForumsProvider.cs:1535
PopForums.UI.TopicReadIndicator..ctor(PopForumsUser user, List`1 topics) in C:\Documents and Settings\Jeff\Desktop\PopForums8\PopForums\UI\TopicReadIndicator.cs:24
TopicListPage.TopicList_TopicItemDataBound(Object sender, TopicListItemEventArgs e) +168
PopForums.UI.TopicList.OnTopicItemDataBound(TopicListItemEventArgs e) in C:\Documents and Settings\Jeff\Desktop\PopForums8\PopForums\UI\TopicList.cs:110
PopForums.UI.TopicList.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) in C:\Documents and Settings\Jeff\Desktop\PopForums8\PopForums\UI\TopicList.cs:69
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +59
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +111
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +29
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
PopForums.UI.TopicListController.TopicListController_Load(Object sender, EventArgs e) in C:\Documents and Settings\Jeff\Desktop\PopForums8\PopForums\UI\TopicListController.cs:89
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Mark all forums read, and you'll be good to go.
This is a known bug, with a fix, but the newer build hasn't been elevated yet.
Jeff - Advocate of Great Great Tunnels™ - Co-Publisher - PointBuzz - CoasterBuzz - Blog - Music
You must be logged in to post