I am loading datatables data with the following
    $(document).ready(function () {
        $('#timeofftable').DataTable({
            "processing": true,
            "serverSide": true,
            "ajax": "/timeoffs/timeoffdata"
        });
    });
The server is returning a 404 on the datatables generated ajax url, which is
If I copy the datables generated url in inspector and remove the querystring (http://localhost:56110/timeoffs/timeoffdata), the url resolves properly.
So I believe the portion of the url generated by datatables is being rendered incorrectly.
I have validated the json data returned from timeoffdata.
EDIT: I've also tried changing the server side generated json to return only 1 column from 1 row, which gave me the same error and the same query string string in datatables.
Has anyone come across this before?
