EasyUI Forum

General Category => General Discussion => Topic started by: lavanyadeepak on March 19, 2013, 08:31:34 AM



Title: Problem configuring examples
Post by: lavanyadeepak on March 19, 2013, 08:31:34 AM
I created a virtual directory for JEasyUI examples with IIS however the grid components are not loading. When checked with Fiddler, I find that URLs like http://localhost/jeasyui/demo/treegrid/treegrid_data2.json are failing with a 405 error message.

I do have a MimeType for JSON but JSON being a static it is accepted for GET request only. How do I need to re-configure it for POST and what handler do you need me to point the same at?


Title: Re: Problem configuring examples
Post by: lavanyadeepak on March 19, 2013, 08:40:51 AM
I solved it myself as below:

  • Handler Mapping to .json as application/json
  • Script Mapping to *.json to asp.dll