指定的CGI应用程序遇到错误,服务器终止该进程 [英] The specified CGI application encountered an error and the server terminated the process

查看:5022
本文介绍了指定的CGI应用程序遇到错误,服务器终止该进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我托管在Azure上一个asp.net 5应用程序中,code为遵守对beta8,应用程序运行在本地环境很好,当我发布code在蔚蓝的网站。我碰到一个常见的​​错误是指定的CGI应用程序遇到错误,服务器终止该进程。

I am hosting a asp.net 5 application on azure, the code is complied for beta8, the application runs fine on the local environment and when i publish the code on the azure site. i get a common error "The specified CGI application encountered an error and the server terminated the process."

推荐答案

我能够通过wwwroot之下。从web.config文件中删除 forwardWindowsAuthToken 来解决这个问题

I was able to solve this issue by removing forwardWindowsAuthToken from the web.config file under wwwroot.


  1. 导航为src /项目名/ wwwroot文件

  2. 打开web.config中

  3. httpPlatform 删除 forwardWindowsAuthToken =真/假属性

  1. Navigate to src/ProjectName/wwwroot
  2. Open the web.config
  3. In the httpPlatformremove the forwardWindowsAuthToken="true/false" property

重新部署和我工作得很好。

Redeploy and mine worked fine.

在这里看到 https://github.com/aspnet/Hosting/issues/364对于大量的讨论

See here https://github.com/aspnet/Hosting/issues/364 for plenty of discussion

这篇关于指定的CGI应用程序遇到错误,服务器终止该进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆