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.
How can I solve this?
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.
How can I solve this?
Navigate to: <project>.idea/config/applicationhost.config
Find the tag <authentication>
and enable the <windowsAuthentication>
tag like so: <windowsAuthentication enabled="true">
Mine looks like this:
<windowsAuthentication enabled="true">
<providers>
<add value="Negotiate" />
<add value="NTLM" />
</providers>
</windowsAuthentication>
.vs/config/
settings, so they followed suit putting it in the .idea/config/
settings https://mcmap.net/q/556221/-windows-authentication-doesn-39-t-work-when-i-run-project-from-visual-studio –
Enugu Just to build on @RyanDawkins answer with a GUI equivalent.
This is similar to the Visual Studio way of doing things, it just saves the settings in {SolutionFolder}/.idea/config
instead of {SolutionFolder}/.vs/config
In <project>.idea/config/applicationhost.config
I had to do two things:
Set: <windowsAuthentication enabled="true">
Set: <anonymousAuthentication enabled="false">
© 2022 - 2024 — McMap. All rights reserved.