Hi all Thanks a lot, the step-by-step guide helped. Everything was already done, only one thing was missing. The error was caused by the missing parameter file that's generated by the code : from gluon.main import save_password; save_password(input('admin password: '),443)
The web.config is exactly the same as the one in the example directory, but is missing the <handlers> section. I figured out that this als can be configured in the IIS-manager. This helped to get insight in the relation between IIS & Python. Regards, Martel Op dinsdag 22 oktober 2019 08:25:34 UTC+2 schreef martel berends: > > I'm trying to deploy a web2py server with the following specs: > - Windows server 2019 > - IIS 10 > - Python 3.5 above > > I followed the deployment scripts in de manual ( > http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS) and > the excellent video of Remco Boerma (https://youtu.be/gxOhsThD0FY) > > I've the basic site working, but when I go to the admin section, an error > occurs : > > Error occurred: > > Traceback (most recent call last): > File "c:\python36-32\lib\site-packages\wfastcgi.py", line 851, in main > response.send(FCGI_STDOUT, part) > File "c:\python36-32\lib\site-packages\wfastcgi.py", line 756, in send > return send_response(self.stream, self.record.req_id, resp_type, content, > streaming) > File "c:\python36-32\lib\site-packages\wfastcgi.py", line 370, in > send_response > raise TypeError("content must be encoded before sending: %r" % content) > TypeError: content must be encoded before sending: 'a' > > > I've tried python 3.4 / 3.5 / 3.6 and 3.7 but all with the same result. Going > back to 2.7 is not what I want, due to end-of-life of python 2.7 and my site > is coded in Python 3. > > I've installed the source-code version of web2py and the user-registration in > the standard welcome application is working fine. So the patform seems to > work. > > > It's something between web2py and wfastcgi, but I've no clue what is causing > this error and how to solve it. > > > Any help would be fantastic. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/c280673b-9b41-4a36-9ab1-64320e0613ab%40googlegroups.com.