Ext.define(`Demo.store.Users`, { extend: `Ext.data.Store`, model: `Demo.model.User`, autoLoad: true, proxy: { type: `ajax`, api: { read: `http://<localhost>:50893/Api/EmployeeService`, update: `data/updateUsers' }, reader: { type: `json`, root: `employee`, successProperty: `success` } } });
OPTIONS http://<localhost>:50893/Api/EmployeeService?_dc=1388125117941&page=1&start=0&limit=25 500 (Internal Server Error) Ext.define.request Connection.js?_dc=1388125117581:358 Ext.define.doRequest Ajax.js?_dc=1388125117534:271 Ext.define.read Server.js?_dc=1388125117566:198 Ext.define.load AbstractStore.js?_dc=1388125117034:869 Base.implement.callParent ext-debug.js:4263 Ext.define.load Store.js?_dc=1388125117503:1552 (anonymous function) ext-debug.js:2085 OPTIONS http://<localhost>:50893/Api/EmployeeService?_dc=1388125117941&page=1&start=0&limit=25 Invalid HTTP status code 500 Ext.define.request Connection.js?_dc=1388125117581:358 Ext.define.doRequest Ajax.js?_dc=1388125117534:271 Ext.define.read Server.js?_dc=1388125117566:198 Ext.define.load AbstractStore.js?_dc=1388125117034:869 Base.implement.callParent ext-debug.js:4263 Ext.define.load Store.js?_dc=1388125117503:1552 (anonymous function) ext-debug.js:2085 XMLHttpRequest cannot load http://<localhost>:50893/Api/EmployeeService?_dc=1388125117941&page=1&start=0&limit=25. Invalid HTTP status code 500
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)