小编Kus*_*aya的帖子

“wfastcgi-enable”显示“确保您的用户有足够的权限并重试。” 如何解决这个问题?

当尝试运行“wfastcgi-enable”在 IIS 上部署我的 Django 代码时,它显示以下错误:

ERROR ( message:New application object missing required attributes. Cannot add duplicate collection entry of type 'application' with combined key attributes 'fullPath, arguments' respectively set to 'C:\Users\paritosh\AppData\Local\Programs\Python\Python39\python.exe, C:\Users\paritosh\AppData\Local\Programs\Python\Python39\lib\site-packages\wfastcgi.py'
. )
An error occurred running the command:

['C:\\Windows\\system32\\inetsrv\\appcmd.exe', 'set', 'config', '/section:system.webServer/fastCGI', "/+[fullPath='C:\\Users\\paritosh\\AppData\\Local\\Programs\\Python\\Python39\\python.exe', arguments='C:\\Users\\paritosh\\AppData\\Local\\Programs\\Python\\Python39\\lib\\site-packages\\wfastcgi.py', signalBeforeTerminateSeconds='30']"]

Ensure your user has sufficient privileges and try again.
Run Code Online (Sandbox Code Playgroud)

我也尝试过在管理员模式下运行CMD,但没有成功。

iis fastcgi web-config iis-8 wfastcgi

4
推荐指数
1
解决办法
4615
查看次数

标签 统计

fastcgi ×1

iis ×1

iis-8 ×1

web-config ×1

wfastcgi ×1