Datatable worked normally in my localhost but when i published it doesn't work ?
Datatable worked normally in my localhost but when i published it doesn't work ?
emna_t
Posts: 3Questions: 1Answers: 0
Datatable worked normally in my localhost but When I publish my site , an error appears " Ajax Error: tn/7"
when I open my console , the error is: 404 - Not Found.
The URL requested was not found on the server.
Any Help please?
This discussion has been closed.
Answers
////////////
this method is to get data and put it ih the columns in the datatable
[HttpPost]
public ActionResult GetData()
{
List<CandidatViewModel> LstF = new List<CandidatViewModel>();
using (db)
{
This error is coming from your server. Start by looking at the server logs to see why its returning 404.
Kevin
i checked my server logs but it doesn't show me anything that may be the problem causing this error with charging datatables
please i need your help as sooon as possible and thanks
Hi emna_t,
The screenshot in the original post shows two URLs that are failing, GetData and GetDataEmail. They must be on your localhost server, but weren't transferred to your live server. I'd compare the directory trees on both servers as a starting point.
Hope that helps,
Colin