I have no problem to call JSONResult action in Controller from javascript, however, as soon as I deploy the app(same computer), it came out with the 401 errors
js code sample:
ds = new kendo.data.DataSource({
transport: {
read: {
url: ("/Report/GetJsonGroupedCategoryData"),
type: "POST"
}
}
});
Error:
js code sample:
ds = new kendo.data.DataSource({
transport: {
read: {
url: ("/Report/GetJsonGroupedCategoryData"),
type: "POST"
}
}
});
Error:
POST http://128.73.0.194/Report/GetJsonGroupedCategoryData
|
401 Unauthorized
|
115m |
same as GET call:
GET http://128.73.0.194/home/KendoCategoryRead
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Thanks