FullCalendar fetching events from server not working <p>I am trying to fetch events from my LocalDB server and have them display on my calendar, but they aren't appearing.</p> <p>I am using the following method to fetch the events.</p> <pre><code>public JsonResult GetEvents(double start, double end) { var fromDate = ConvertFromUnixTimestamp(start); var toDate = ConvertFromUnixTimestamp(end); var eventList = from e in db.Events select new { ID = e.ID, Title = e.Title, StartDate = e.StartDate.ToString("s"), EndDate = e.EndDate.ToString("s"), EventType = e.EventType, Hours = e.Hours, AllDay = true }; var rows = eventList.ToArray(); return Json(rows, JsonRequestBehavior.AllowGet); } private static DateTime ConvertFromUnixTimestamp(double timestamp) { var origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); return origin.AddSeconds(timestamp); } </code></pre> <p>My calendar is rendered as follows:</p> <pre><code>@Styles.Render("~/Content/fullcalendar") @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/fullcalendar") &lt;br /&gt; &lt;div id="calendar"&gt;&lt;/div&gt; &lt;br /&gt; &lt;script type="text/javascript"&gt; $(document).ready(function () { $('#calendar').fullCalendar({ header: { left: 'title', center: '', right: 'prev,next today' }, defaultView: 'month', weekends: false, editable: false, events: "/Home/GetEvents/" }); }); &lt;/script&gt; </code></pre> <p>Any help is greatly appreciated.</p> <p><strong>EDIT:</strong></p> <p>This is in my web console:</p> <pre><code>no element found abort:1:1 Use of getPreventDefault() is deprecated. Use defaultPrevented instead. browserLink:37:40278 no element found send:1:1 no element found send:1:1 no element found send:1:1 no element found GET http://localhost:54802/Home/GetEvents/ [HTTP/1.1 500 Internal Server Error 10ms] </code></pre>