title: Error with javascript 500 Internal Server Error
body: <p>I am getting this error when I look at the javascript console 
  POST (url of website) GetUserPass 500 (Internal Server Error).</p>
  
  <p>A popup also says that there is an unexpected token > 
  I am guessing that these two things are related so does anyone know anything about them or have they seen this before?</p>
  
  <p>Here is the javascript code. The project is built in visual studio 2013.</p>
  
  <pre><code>&lt;script type="text/javascript" src="../assets/plugins/data-tables/jquery.dataTables.datesorting.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
          var mvData = null;
          var mvTable;
  
          function GetDataSuccess(data, textStatus, XMLHttpRequest) {
              $("#divMessage").html("").hide();
              $("#userPassTable").show();
              mvData = data.d;
              mvTable.fnClearTable();
              mvTable.fnAddData(data.d);
          }
  
          function GetDataError(XMLHttpRequest, textStatus, errorThrown) {
              try {
                  var obj = jQuery.parseJSON(XMLHttpRequest.responseText);
                  $("#divMessage").html("An error occured: " + obj.Message + "&lt;br&gt;Exception Type: " + obj.ExceptionType).show();
              }
              catch (ex) { alert(ex.message); }
          }
  
          function logBodyOnLoad() {
              $.ajax({
                  type: "POST",
                  url: "UserPass.aspx/GetUserPass",
                  data: JSON.stringify({}),
                  contentType: "application/json; charset=utf-8",
                  dataType: "json",
                  success: GetDataSuccess,
                  error: GetDataError
              });
  
              mvTable = $('#userPassTable').dataTable(
              {
                  "fnDrawCallback": function (oSettings) {
                      /* Need to redo the counters if filtered or sorted */
                      //     if (oSettings.bSorted || oSettings.bFiltered) {
                      //        for (var i = 0, iLen = oSettings.aiDisplay.length; i &lt; iLen; i++) {
                      //            $('td:eq(0)', oSettings.aoData[oSettings.aiDisplay[i]].nTr).html(i + 1);
                      //        }
                      //     }
                  },
                  "aoColumns":
                  [
                      { "sTitle": "Vendor", sClass: "left_align" },
                      { "sTitle": "Username", sClass: "left_align" },
                      { "sTitle": "Password", sClass: "left_align" }
                  ],
                  "iDisplayLength": 1000,
                  "aaData": [["", "", ""]],
                  bPaginate: false,
                  bFilter: true,
                  bSort: false,
                  bJQueryUI: true,
                  bAutoWidth: false
              });
          }
  
          $(document).ready(logBodyOnLoad);
      &lt;/script&gt;
  </code></pre>