Hi I have asp.net mvc application and in that I use Jquery data tables for showing records
The below piece of code works fine when I run the application using visual studio but when I deploy it to IIS it gives not found error.
$(document).ready(function () {
$("#tblStudents").DataTable({
"ajax": {
"url": "/Students/GetList", ( i Have a StudentsController in which I have GETLIST GetList
"type": "POST",
"processing": true,
"serverSide": true,
"datetype": "json"
},
Do i need to change the path on IIS as few bootstrap and css also gives 404 error
HTTP ERROR 404.0 - NOT FOUND

Salman BegRank #284 · 8.8K reputationPosted May 11, 2021, 6:47 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted May 11, 2021, 7:20 AM EDT
Varun SetiaRank #308 · 8.2K reputationPosted May 12, 2021, 1:51 AM EDT