Issue: IIS configuration JSON; Result: How to configure IIS support. JSON-formatted files

Source: Internet
Author: User

How to configure IIS support. JSON-formatted files
    • |
    • Browse:1357
    • |
    • Updated: 2015-04-05 11:00
    • |
    • Tags: software
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
Step through Reading

Now everyone in the production of HTM5 some small scenes, small games need to use. JSON to record data, but we use JSON after IIS does not support parsing, is also a very depressing thing, the following for you to introduce. How to enable IIS to support JSON file parsing.

Tools/Materials
    • Iis
Method/Step
    1. 1

      The first step, click on the Start menu;

    2. 2

      The second step, select the management tool--iis management, and some computers do not directly display the management tools, please click on the Control Panel--management tools--iis management;

    3. 3

      In the third step, after opening IIS Manager, we select "Web Site" and then right click to select Properties;

    4. 4

      Fourth step, after opening the properties panel, we select "HTTP Header" and then click "Meme Type" on the "HTTP header" panel.

    5. 5

      Fifth, click New on the "meme type" panel that opens to create a new "meme type".

    6. 6

      Sixth step, on the new panel that pops up, enter,

      Extension:. JSON

      Meme type: application/x-javascript;

      Then click OK, some IIS after this step has been able to execute the JSON file, but some can not, if not, continue to look down, you can skip;

      END
Add Application Extension Mappings
    1. Some computers may not have "application extension mapping", we will also add "application extension mapping" preferred to select the site Properties panel "home Directory" and then click on the "Configuration" below;

    2. Select the first mapping option in the Panel that pops up. Then click Add

    3. Then, in the Add/Edit Application extension mapping panel that pops up, enter

      Executable file: C:\WINDOWS\system32\inetsrv\asp.dll

      Extension:. JSO action: Get,post

      This has all been done to ensure that you can do so, restart IIS

      END
Precautions
    • Note Set the entire site directory, not individual settings.
    • If it cannot be resolved, restart IIS

Issue: IIS configuration JSON; Result: How to configure IIS support. JSON-formatted files

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.