aTekTipsUser
Programmer
I am using ASP.net and I am trying to get the Windows user name. I user User.Identity.Name. I had it working by setting the IIS Authentication mode to Integrated Windows Authentication and not allowing Anonymous access. But when I posted it to the live server and tried accessing it through the web, I could not get into the web site. It was giving me the error:
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a header field that the Web server is not configured to accept.
Is there another way to get the user name or can you let me know why I am getting this message on the live server. Thanks for your help!
You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a header field that the Web server is not configured to accept.
Is there another way to get the user name or can you let me know why I am getting this message on the live server. Thanks for your help!