Shaz
April 4, 2019, 4:47am
1
Getting below error while Loading Data from SQL Server. It works fine on local machine but when I deploy it on server, get below errors.
ajax.js:208 GET http://wsapp1910/Home/Data?dhxr1554351478314=1 404 (Not Found)
(anonymous) @ ajax.js:208
i._execute @ bluebird.js:985
D._resolveFromExecutor @ bluebird.js:3268
D @ bluebird.js:2864
_call @ ajax.js:167
query @ ajax.js:117
get @ ajax.js:128
t.load @ load.js:24
(anonymous) @ main.js:32
(anonymous) @ main.js:38
VM123:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Object.parse (load.js:141)
at Object.t.on_load (load.js:78)
at Object. (load.js:25)
at ajax.js:179
ramil
April 5, 2019, 3:38pm
2
Hello Shaz,
Please, check that it is possible to access to the assigned address from the server. And open the web console on the network tab and check all messages there.
ramil
April 8, 2019, 10:53am
3
Hello Shaz,
Let’s continue our discussion in the following topic:
Thanks for your response. I’ve fixed that.
But I’ve another issue now. The Gantt Chart runs fine on my local machine but when I deploy it on server - the chart doesnt show up. The console shows error in loading data(see below)
ajax.js:208 GET http://domain/Home/Data?dhxr1554417616249=1 404 (Not Found)
Would appreciate your help on this. I’ve followed this tutorial in building Gantt( except the Step 2 in which I load data from SQL server DB)
https://dhtmlx.com/blog/using-dhtmlx-gantt-chart-as…