1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    0
    MichaelTaouk is on a distinguished road

      0  

    Default Getting started

    Getting started


    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.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    120
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    http://www.sencha.com/forum/showthre...l=1#post229858

    You can also google "IIS serve JSON files" for additional (non-sencha specific info).
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    52
    Vote Rating
    11
    celticboyone will become famous soon enough

      1  

    Default


    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-hand...port-in-iis-7/

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

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    0
    MichaelTaouk is on a distinguished road

      0  

    Default new MIMI type for .json

    new MIMI type for .json


    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.