The web appeared "Internal Server 500" while I deployed Flask app. And another web also failed, however, it worked previously

-2

Condition

I ran a Flask app and deployed in IIS. And the web appeared the message called "Internal Server Error 500" and "error code 0x80070005". But I definitely followed the steps from Microsoft document. Then, another web with django also failed. However, the web with django can ran previously.

Question

  1. I do not understand why they happened. Can anybody tell the reasons about why the new web failed so that another web was affected

  2. how to fix the web with django ?

  3. how to deploy the app with flask successfully ?

The flask setting which I have done

  1. I copy the wfastcgi.py and paste it into the project directory

  2. Add Website

  3. Edit module mapping

  4. Edit FastCGI Application

  5. Set PYTHON_PATH and MSGI_HANDLER

  6. It is my web config

The django setting which I have done

Because of reputation, I cannot paste more links. The steps are the same

Here is my web config about django project

Thanks!!

iis
deployment
django
iis-8
flask
asked on Stack Overflow Mar 28, 2019 by (unknown user)

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0