title: Jquery ajax call wont access the controller: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
body: <p>I keep getting Failed to load resource: the server responded with a status of 500 (Internal Server Error) indicating that the call to my controller method isnt working and I dont know why:</p>
  
  <pre><code>var user = "founder";
  var clanName = "superClan";
  var SuspensionDate = Date.now;
  $.ajax({
              url: '@Url.Action("SuspendUserFromClan", "ChatMethods")',
              type: "POST",
              contentType: "application/json; charset=utf-8",
              data: { 'ClanName': clanName, 'UserToSuspend': userToAdd, 'DateSuspendedTill': SuspensionDate },
              dataType: "json",
              traditional: true,
              success: function (data, status, xhr) {
                  alert(data);
              },
              error: function () {
                  alert("An error has occured!!!");
              }
          });
  </code></pre>
  
  <p>my controller:</p>
  
  <pre><code>public JsonResult SuspendUserFromClan(string ClanName, string UserToSuspend, DateTime DateSuspendedTill)
  {
   ...
  }
  </code></pre>