PDA

View Full Version : Getting started



MichaelTaouk
27 Aug 2012, 3:23 PM
My IT skills are a bit outdated, still using Visual Basic and MS Access ... not good :)

I would like to use your Sencha Architect to develop simple web based database application for small businesses.
I downloaded a trial version of Sencha to see if I can learn to use it ...

I followed the introduction notes ... created the "CarListings" Models ... however when I try to "load data" to the "CarDataStore", I get an error 404.3 ... I'm stuck and can't go any further ...can anyone help.
I am using Windows 7 professional SP1, "IIS" as web server, Java 7 update 6, Google Chrome....
I am able to preview the projects (web server seems to be OK??), but I can't open "cars.json".

Any suggestions would be appreciated.

aconran
27 Aug 2012, 8:30 PM
http://www.sencha.com/forum/showthread.php?33266-Some-Problem-with-JSON&p=229858&viewfull=1#post229858

You can also google "IIS serve JSON files" for additional (non-sencha specific info).

celticboyone
28 Aug 2012, 9:07 AM
Yes, by default IIS 7 will not serve files with a .json extension. Can you browse to the file in Chrome?

http://localhost/myprojects/test/data/cars.json (or whatever your server path is for the json file)

If not then all you probably need to do is add a new MIME type for .json files. Here is a link with instructions:

http://www.uipress.com/add-json-handler-support-in-iis-7/

Let us know if that works and check that you can see the contents of the file in your browser

MichaelTaouk
28 Aug 2012, 4:10 PM
Thanks ... problem solved :)
I added a new MIMI type for .json as you instructed.

I could't find C:\WINDOWS\system32\inetsrv\asp.dll.
I searched for another asp.dll file and used that instead: C:\Windows\winsxs\x86_microsoft-windows-iis-aspbinaries_31bf3856ad364e35_6.1.7600.16385_none_8c5aa46ac8c85d9e\asp.dll.
I am hoping this will not cause any problems down the track.

Thanks for you help.