OS: windows 7 x64 bit
IIS: 7.5
run –> inetmgr –> click your website –> enter in features view Authentication –>
Enable Windows Authentication
Disable Anonymous Authentication
Pay attention that you did this definitions on your website specificly!!
Another solution is to add to web.config in the system.web section:
<authentication mode="Windows" />
<authorization>
<deny users="?"/>
</authorization>
Now you”l get your Identity back!
(if you don’t have the right Authentication options then :
Turn Windows features on or off
Turn Windows features on or off –> IIS –> WWWS –> Security –> Basic, Digest and Windows.
At the end restart your machine for the changes to take effect.
Now do the beginning of the post. )
This absolutely did NOT work. Thanks.
LikeLike
Thanks a lot!
I modified the inetmgr..it worked
LikeLike
Thanks dude
LikeLike