# Running a django project on windows server 2016

**URL:** <https://forum.djangoproject.com/t/running-a-django-project-on-windows-server-2016/24724>\
**Category:** Mystery Errors\
**Created:** [October 22, 2023, 6:03pm UTC](https://forum.djangoproject.com/t/running-a-django-project-on-windows-server-2016/24724 "2023-10-22T18:03:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LRaszka](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/lraszka/32/16591_2.png) [@LRaszka](https://forum.djangoproject.com/u/LRaszka)\
**Post date:** [October 22, 2023, 6:03pm UTC](https://forum.djangoproject.com/t/running-a-django-project-on-windows-server-2016/24724/1 "2023-10-22T18:03:03Z")

</div>

Hello,  
I’m trying to run a django site on windows server 2016. I am using IIS and FastCGI to do this. After trying to open the site in the browser, I get this error message:

`Error occurred while reading WSGI handler: traceback (most recent call last).:File "C:\Python\Lib\site-packages\wfastcgi.py", line 791, in main env, handler = read_wsgi_handler(response. physical_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\Lib\site-packages\wfastcgi.py", line 633, in read_wsgi_handler handler = get_wsgi_handler(os.getenv("WSGI_HANDLER")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python\Lib\site-packages\wfastcgi. py", line 605, in get_wsgi_handler handler = handler() ^^^^^^^^^ File "C:\Python\Lib\site-packages\django\core\wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "C:\Python\Lib\site-packages\django\ __init__. py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "C:\Python\Lib\site-packages\django\apps\registry.py", line 83, in populate raise RuntimeError("populate() isn't reentrant") RuntimeError: populate() isn't reentrant StdOut:`

I would be very grateful for advice and guidance on how to fix this error.

Have a nice day  
Lukas
