Johnnyboycurtis / webproject

basic web project..exports data to Excel
126 stars 103 forks source link

The FastCGI process exited unexpectedly #1

Closed mabdelhack closed 4 years ago

mabdelhack commented 4 years ago

I tried the tutorial with exactly the same steps but I still keep getting this error with fastcgi

HTTP Error 500.0 - Internal Server Error c:\python37\python.exe - The FastCGI process exited unexpectedly

Most likely causes: •IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred. •IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly. •IIS was not able to process configuration for the Web site or application. •The authenticated user does not have permission to use this DLL. •The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

Things you can try: •Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account. •Check the event logs to see if any additional information was logged. •Verify the permissions for the DLL. •Install the .NET Extensibility feature if the request is mapped to a managed handler. •Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

Module : FastCgiModule Notification: ExecuteRequestHandler Handler: Python FastCGI Error Code: 0xc0000409 Requested URL: http://localhost:80/ Physical Path: C:\inetpub\wwwroot Logon method: Anonymous Logon User: Anonymous

More Information: This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. View more information »

Microsoft Knowledge Base Articles: •294807

My system information is as follows: Windows Server 2016 Python 3.7.7

Python packages: asgiref 3.2.10 Django 3.0.7 et-xmlfile 1.0.1 jdcal 1.4.1 openpyxl 3.0.3 pip 19.2.3 pytz 2020.1 setuptools 41.2.0 sqlparse 0.3.1 wfastcgi 3.0.0

mabdelhack commented 4 years ago

I have found the issue to be with the handler's name and fixed it in this pull request #2

Will close this.