JSON data not loading onto treeloader
I'm using IIS 5.1 and i tried adding MIME type json.Also I ran the example in my localhost but still i'm unbale to get the data displayed onto the tree.
Please help me in fixing this.
Got it working with xampp
I got the layout browser example working by installing xampp 1.6.6a on my system and placing the EXT 2.1 folder in htdocs folder.
I usually code in vs 2005 and depend on IIS 5.1.So when it clicked to me that php might be missing link i correctly installed php-5.2.5 but still i was not able to run example with IIS.
Any suggestions to run example through IIS might be welcome.
JSON not working on IIS 5.1
I really need help of you guys on this. I have banged my head to much extent and still haven't got it solved.
Issue is treeloader which loads json data in tree panel is not displayed through IIS webserver though xampp loads it just fine.Infact I tried running localhost/example.json and it displayed json file contents on xampp while IIS didn't recognise the file type and hence didn't opened.
I tried changing MIME type in IIS viz.
.json = "text/plain","text/html","text/json","application/json" and nothing worked.
In IIS i also tried to set header type i.e content-type="application/json"...It did'nt worked..
Also in treeloader requestmethod which is default "POST" i tried changing it to "GET"...
Still i'm not able to work this....I will be working on weekend to just solve this..
Please help me out solve this