I have a page with a radscheduler. I noticed today that I am getting this error on the page:
Exception Details: System.ArgumentException: An entry with the same key already exists.
Source Error:
Stack Trace:
This error seems to be connected to the webservicesettings element. If I remove that element, the page loads, but when I include, it fails.
<telerik:RadScheduler runat="server" ID="rsEvents" StartEditingInAdvancedForm="true"
StartInsertingInAdvancedForm="true" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked"
ShowAllDayRow="true" Width="585px" Height="675px" SelectedView="MonthView" ShowFooter="true"
DayStartTime="07:00:00" DayEndTime="20:00:00" FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday"
EnableDescriptionField="true" OnClientAppointmentDoubleClick="onAppointmentDoubleClick"
OnClientAppointmentsPopulating="onAppointmentsPopulating">
<WebServiceSettings Path="~/Scheduler.asmx" ResourcePopulationMode="ServerSide" />
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" UserSelectable="false" />
<AdvancedForm Modal="true" />
<ResourceTypes>
<telerik:ResourceType Name="Category" TextField="Description" KeyField="Id" />
</ResourceTypes>
<AppointmentTemplate>
<div class="rsAptSubject">
<%# Eval("Subject") %>
</div>
<%# Eval("Description") %>
</AppointmentTemplate>
</telerik:RadScheduler>
An entry with the same key already exists.
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.ArgumentException: An entry with the same key already exists.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
This error seems to be connected to the webservicesettings element. If I remove that element, the page loads, but when I include, it fails.
<telerik:RadScheduler runat="server" ID="rsEvents" StartEditingInAdvancedForm="true"
StartInsertingInAdvancedForm="true" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked"
ShowAllDayRow="true" Width="585px" Height="675px" SelectedView="MonthView" ShowFooter="true"
DayStartTime="07:00:00" DayEndTime="20:00:00" FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday"
EnableDescriptionField="true" OnClientAppointmentDoubleClick="onAppointmentDoubleClick"
OnClientAppointmentsPopulating="onAppointmentsPopulating">
<WebServiceSettings Path="~/Scheduler.asmx" ResourcePopulationMode="ServerSide" />
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" UserSelectable="false" />
<AdvancedForm Modal="true" />
<ResourceTypes>
<telerik:ResourceType Name="Category" TextField="Description" KeyField="Id" />
</ResourceTypes>
<AppointmentTemplate>
<div class="rsAptSubject">
<%# Eval("Subject") %>
</div>
<%# Eval("Description") %>
</AppointmentTemplate>
</telerik:RadScheduler>