View Full Version : Problem with "Load Data" for JSon Store from .NET web service.

28 Feb 2012, 8:52 AM
I'm getting a error number "500: Internal Server Error" from the JSON Store when I try to "Load Data".

Could a firewall be causing the lack of communication with the web server ?

28 Feb 2012, 10:44 AM
Can you supply some code? Maybe a URL or something?

28 Feb 2012, 1:36 PM
Here is the store's designer auto generated code sample:

Ext.define('BrookshireBrothersMobile.store.base.GetAllStore', {
extend: 'Ext.data.Store',
requires: [

config: {
autoLoad: true,
model: 'BrookshireBrothersMobile.model.StoreInfoModel',
storeId: 'GetAllStores',
proxy: {
type: 'ajax',
url: 'http://mobilenew.brookshirebrothers.com/BBMobile.asmx/GetAllStores',
headers: 'Content-Type\': \'application/json;charset=utf-8',
reader: {
type: 'json',
rootProperty: 'd'

I've figured out a hack to make a ResultSet bind to a data-bound control but I'd really like to know what is going on here ?

28 Feb 2012, 1:56 PM
There is an error occurring on the server.

Ensure that you are passing the proper parameters and have the correct authentication level.

Will the application live on the same domain mobilenew.brookeshirebrothers.com? If not you will need to look into doing JSONP.

28 Feb 2012, 2:13 PM
Thanks for the quick response Aaron.

I can successfully invoke an AJAX request when the code is FTP-ed to the web server which, yes, is accessible via the mobilenew domain.

So I agree, sounds like security. Thanks again for the help, I'll have to take this up with the network folks.