Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

HTML5 index.html files will not open running on IIS

New Here ,
Oct 06, 2017 Oct 06, 2017

If I publish a normal/blank project into HTML5 on my IIS server, I am not able to open the website using Firefox, chrome, safari, etc..

If I publish with HTM/SWF I am able to open the index.hmtl

Any suggestions?

Thanks!

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 06, 2017 Oct 06, 2017

HTML5 content now requires the web server to be capable of allowing JSON files to be served as part of the content.

Talk to your web server administrator about getting the server configured to serve JSON mimetype.  They should know how to do that.

Translate
Community Expert ,
Oct 06, 2017 Oct 06, 2017

HTML5 content now requires the web server to be capable of allowing JSON files to be served as part of the content.

Talk to your web server administrator about getting the server configured to serve JSON mimetype.  They should know how to do that.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 08, 2017 Oct 08, 2017
LATEST

Thanks, I was able to add JSON mimetype and the following worked:

  • Open IIS Manager
  • Display properties for the IIS Server
  • Click MIME Types and then add the JSON extension:
    • File name extension: .json
    • MIME type: application/json
  • Go back to the properties for IIS Server
  • Click on Handler Mappings
    • Add a script map
    • Request path: *.json
    • Executable: C:\WINDOWS\system32\inetsrv\asp.dll
    • Name: JSON

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources