[solved] Dash on IIS 8 - TypeError: 'Dash' object is not callable

From that tutorial:

http://netdot.co/images/wsgi_handler.png

The first app corresponds to app.py. The second app corresponds to the variable app instead the file app.py. In that example, the app variable was corresponding to the flask instance. In your example, app is the Dash app and server is the flask instance.

So, I believe that you need to change this WSGI_HANDLER to be app.server instead of app.app

3 Likes