当尝试运行"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.我也尝试在管理员模式下运行CMD,它不起作用。
发布于 2021-10-26 07:24:26
您能告诉我您在设置文件中做了哪些更改吗?对不起,我不得不把这作为一个答案,因为我还没有评论的权利。
https://stackoverflow.com/questions/69388316
复制相似问题