Sencha touch the necessary configuration to operate under IIS7!

Source: Internet
Author: User

The official guidance document of the pit daddy! Unable to open after loading index.html, with Chrome Debug report can not find Develoment.js 404 error.


Official documents to see no more than more than 10 times, step by step according to the operation error. I couldn't find the wrong reason for a whole day! The final confirmation is caused by IIS, and finally found a man's solution guidance Method!

Original quote from: http://blog.sina.com.cn/s/blog_72639692010171oa.html

If you can't run the examples in the SDK, it means that your ST2 development environment is not yet configured, let alone the next development work.

If double hit open HTML is absolutely not working up, you can only see a tea icon but 1. An example of version x can be done in this way.

Want to run actually very simple, as long as can let *.json file can be parsed by the Web server, here to IIS7 as an example.

1) Installation of IIS7 ASP support

Control Panel--programs and features--open and close Windows features--role---add role services--application development--Select ASP

2) Add MIME type to the default Web site

Add-to file extension json,mime type Text/json (or application/x-javascript can also)

3) Install script mappings to the default Web site

Handler mappings--Add a script map. The request path is *.json, the executable file is%windir%\system32\inetsrv\asp.dll, and the name is JSON

4) Add index.html to the default document

5) Create the Senchatouch application under the Default Web site, IIS6 is called the virtual directory.

6) Use Chome Preview (ie not supported)

This configuration completes, does not need to restart IIS, right-run Examples.json, if the ability to open in the Web page and display a number of numbers, it is correct configuration, if the download file is displayed, the configuration is unsuccessful.


Sencha touch the necessary configuration to operate under IIS7!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.