Lamloumi Afif
Lamloumi Afif

Reputation: 9081

Activate windows authentification in asp.net mvc

I'd like to specify the users' profiles how can access to my asp.net mvc application so i put

 <authentication mode="Windows" />
    <authorization>
      <allow users="Afif"/>
      <deny users="?"/>
   </authorization>

but the windows authentification didn't work. after googling , i find that i have to activate the windows authentification in IIS Manager

active

But i don't find the windows authentification as in the screenshot. How can i fix it?

Upvotes: 0

Views: 117

Answers (1)

Brian Mains
Brian Mains

Reputation: 50728

When you install IIS, you have to install the Windows Authentication feature. Go back into the windows components, and change IIS to include the Windows Authentication feature. See this blog post or try this superuser post.

Upvotes: 2

Related Questions