Hi there.
I'm trying to replicate a IIS/Flask configuration/app on another laptop, but a problem is displayed when i try to call the website.
For example i did this app test http://netdot.co/2015/03/09/flask-on-iis/ and works ok.
but when i trying to replicate all my settings and call the website this error is displayed:
Error occurred while reading WSGI handler: Traceback (most recent call last): File "C:\inetpub\wwwroot\MyWebSite\wfastcgi.py", line 711, in main env, handler = read_wsgi_handler(response.physical_path) File "C:\inetpub\wwwroot\MyWebSite\wfastcgi.py", line 568, in read_wsgi_handler return env, get_wsgi_handler(handler_name) File "C:\inetpub\wwwroot\MyWebSite\wfastcgi.py", line 551, in get_wsgi_handler raise ValueError('"%s" could not be imported' % handler_name) ValueError: "runserver.app" could not be imported StdOut: StdErr:
and works on another pc and the people can access to the website allocated on my laptop(win 8.1), but on this new pc (win 7) i cant access.
here's the runserver.py
from os import environ from QPX_Test import app if __name__ == "__main__": app.run()
on the handler i added
I don't know what can i do for solve these. :S
Thanks in advance!