首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >wfastcgi-enable it show‘确保您的用户拥有足够的权限,然后重试。’

wfastcgi-enable it show‘确保您的用户拥有足够的权限,然后重试。’
EN

Stack Overflow用户
提问于 2021-03-26 14:11:17
回答 1查看 638关注 0票数 1

我想按照此教程https://www.youtube.com/watch?v=CpFU16KrJcQ&t=191s在window 2008中部署我的django网站

在步骤wfastcgi-enable中,它显示如下消息。

命令提示符

代码语言:javascript
复制
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Administrator>wfastcgi-enable
ERROR ( message:Unknown attribute "signalBeforeTerminateSeconds". )
An error occurred running the command:

['C:\\Windows\\system32\\inetsrv\\appcmd.exe', 'set', 'config', '/section:system
.webServer/fastCGI', "/+[fullPath='c:\\users\\administrator\\appdata\\local\\pro
grams\\python\\python37\\python.exe', arguments='c:\\users\\administrator\\appda
ta\\local\\programs\\python\\python37\\lib\\site-packages\\wfastcgi.py', signalB
eforeTerminateSeconds='30']"]

Ensure your user has sufficient privileges and try again.

C:\Users\Administrator>
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-04-01 17:59:59

我现在解决了。因为IIS7.0中没有IIS7.5那样的signalBeforeTerminateSeconds

在IIS7.5中,已使用monitorChangesTo、stderrMode和signalBeforeTerminateSeconds属性更新了集合的元素。

所以我安装了新的window服务器版本来解决这个问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66811841

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档