无法启动进程 C:\Program Files\dotnet\dotnet.exe.Web 服务器请求失败,状态代码为 502.Visual Studio 2017 中的错误 [英] Unable to start process C:\Program Files\dotnet\dotnet.exe. The web server request failed with status code 502. Error in Visual Studio 2017

查看:241
本文介绍了无法启动进程 C:\Program Files\dotnet\dotnet.exe.Web 服务器请求失败,状态代码为 502.Visual Studio 2017 中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建具有 Web 项目的解决方案时,我遇到了一个奇怪的问题.我收到以下错误.任何解决方案或想法.

I am facing a strange issue while building a solution which has web projects. I get the error below. Any solution or thought on it.

推荐答案

通过在 web.config 文件中添加 forwardWindowsAuthToken="false" 进行修复.

Fixed by adding forwardWindowsAuthToken="false" in the web.config file.

 <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="false" />

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module

这篇关于无法启动进程 C:\Program Files\dotnet\dotnet.exe.Web 服务器请求失败,状态代码为 502.Visual Studio 2017 中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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