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

Problem with CP9 HTML5 Project on Microsoft IIS

Community Beginner ,
Dec 27, 2017 Dec 27, 2017

Hi,
I have a problem with a CP9 HTML5 project: after publishing the project works fine on my local machine and on my hosted webserver. After publishing on a Microsoft IIS the project don’t start, there is only the spinnng wheel an nothing happened.
Any ideas?

thanks and regards
Karsten

664
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

Adobe Employee , Dec 27, 2017 Dec 27, 2017

Hi There,

You may try the below steps to add JSON mime type on your IIS Server-

  1. Go to IIS Manager
  2. Navigate to your site where Captivate HTML5 output is hosted.
  3. Select the site and go to MIME types.
  4. Click on Add under Actions.
  5. File name extension type would be .json
  6. MIME type would be application/json
  7. Click OK

Now, you may also try to open the web.config of the application and disable handler to be get rendered as plain text by doing the below step-

 

<!--<add name="JSONHandlerFactory" path="*.json" verb="*

...
Translate
LEGEND ,
Dec 27, 2017 Dec 27, 2017

Is it supporting JSON mime type?

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
Community Beginner ,
Dec 27, 2017 Dec 27, 2017

How can I check this?

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
LEGEND ,
Dec 27, 2017 Dec 27, 2017

Have no idea, I don't use IIS.

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
Adobe Employee ,
Dec 27, 2017 Dec 27, 2017

Hi There,

You may try the below steps to add JSON mime type on your IIS Server-

  1. Go to IIS Manager
  2. Navigate to your site where Captivate HTML5 output is hosted.
  3. Select the site and go to MIME types.
  4. Click on Add under Actions.
  5. File name extension type would be .json
  6. MIME type would be application/json
  7. Click OK

Now, you may also try to open the web.config of the application and disable handler to be get rendered as plain text by doing the below step-

 

<!--<add name="JSONHandlerFactory" path="*.json" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" /> -->

 

Once the above step is performed, try to restart IIS by typing “iisreset” in the Run window and then upload the whole project output folder to the  site and it should work fine.

 

 

Note- You may locate the web.config file either by right click on the site and click on “explore” under IIS Manager or navigate to “C:\inetpub\wwwroot\wss\VirtualDirectories” location manually.

Let me know if you face any issue.

Regards,

Ajit

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
LEGEND ,
Dec 27, 2017 Dec 27, 2017

Thanks so much, Ajit, for this valuable information (was at a loss).

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
Community Beginner ,
Dec 27, 2017 Dec 27, 2017

@ajit_m, @lilybiri: thanks a lot for your answers! I will redirect it to the admins and hope that they're able to fix the problem.

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
Community Beginner ,
Dec 28, 2017 Dec 28, 2017

Hi Ajit, good news: the project is running! Thanks a lot!!!

regards

Karsten

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
LEGEND ,
Dec 28, 2017 Dec 28, 2017
LATEST

Good new! Thank to Ajit, I had no idea how to set it up.

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