Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts
Thursday, 5 September 2019
HttpContext.Current.User.Identity.Name returns null or empty string
This error come due to authentication mode problem.
To correct this error follow the following step:
- Select your project.
- press F4.
- the screen will open like the below image.
- disable the "Anonymous Authentication" and enable the "Window Authentication".
paste in the web configuration
<system.web>
<authentication mode="Windows">
</system.web>
Subscribe to:
Posts (Atom)
What is Agile,advantage and disadvantages
Introduction:- It is a software development life cycle used for software development, that is characterized by the division of tasks in...