ASP.net Hostname Displaying

PHTech

Senior Member
Joined
Aug 21, 2006
Messages
588
Thanx dequadin...

Seems like I can play around with those codes to find the results...
 

FarligOpptreden

Executive Member
Joined
Mar 5, 2007
Messages
5,396
My suspicion would be that the DNS name of the incoming request cannot be resolved and that's why you're only getting the IP address. Is this application accessed on an intranet? What authentication method are you using? Windows Integrated or Anonymous? I suspect that anonymous authentication would cause the DNS of the request to not resolve. I might be wrong though... I'm just taking a shot in the dark. :p
 

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,567
you should check the following and how it has set as it might influence your result.

IIS's security for the application
Webconfig's impersonation and authentication
IIS's version this might be change factor as 7.5 returns differently in some cases vs iis6 ?
location of the application
 
Top