jquery - Can't access data access layer on a wcf web service -


i calling web service using jquery ajax. getting internal server error.

[webget(responseformat=webmessageformat.json)] [operationcontract] public list<brandmodel> dowork(int brandid) {     // here receive generic list of brandmodel calling static method fillmodels.      list<brandmodel> models = da.supportdata.fillmodels(brandid);      return models; } 

i've tried omit statement calling data access layer , return generic list created within dowork method , worked.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -