Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

IIS7 can not pick user name from active directory

$
0
0

Hi Friends

I have ASP.NET web application that picks user name from active directory though the following code:             string xuser;             xuser = Request.ServerVariables["REMOTE_USER"] the application works properly from my local machine and I am able to show user name after putting inside label but after publishing I get nothing.

the operating system of server that I have hosted my application is windows 2008 standard (virtual server) and there are other applications are already hosted and working fine .

Note: the same web application is working properly in another server used windows server 2003.

Finally I think there is a problem with IIS7 to pick user name through active directory

can anyone help?

Regards ,,,

 

 


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>