JetBrain Rider,将IIS Express与Windows身份验证一起使用时访问被拒绝 [英] JetBrain Rider , Access denied when using IIS Express with Windows Authentication

查看:80
本文介绍了JetBrain Rider,将IIS Express与Windows身份验证一起使用时访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在项目中启用了Windows身份验证,当我从Rider运行它时,它总是提示我访问被拒绝.当我通过Visual Studio运行它时,它工作正常.

I have an enabled Windows Authentication on my projects, when I run it from Rider, it always prompts me access denied. It's working fine when I run it via Visual Studio.

有人知道如何解决这个问题吗?

Anyone has any idea how to solve this?

推荐答案

导航到:<project>.idea/config/applicationhost.config

查找标签<authentication>并启用<windowsAuthentication>标签,如下所示:<windowsAuthentication enabled="true">

Find the tag <authentication> and enable the <windowsAuthentication> tag like so: <windowsAuthentication enabled="true">

我的看起来像这样:

<windowsAuthentication enabled="true">
    <providers>
        <add value="Negotiate" />
        <add value="NTLM" />
    </providers>
</windowsAuthentication>

这篇关于JetBrain Rider,将IIS Express与Windows身份验证一起使用时访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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