I have a application in which i am using windows authentication inthe web.config and getting the user name by using (System.Security.Principal.WindowsIdentity.GetCurrent().Name;) whoever logged in to the system.
My problem is when i deployed my application on my client machine were using iis 7.0 and created virtual ditectory then i am accesing the url in the browser,the page doesnot displaying the images/css and username also showing wrong but images path all are right but it didn't display the images. When i open my application in vs2005 and i run on the client machine all works fine. I donno whats going wrong?