Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cs-username not showing in IIS logs in IIS7 classic mode

Tags:

asp.net

iis-7

I am running an asp.net application with forms authentication on IIS 7 in classic mode. Logging is turned on and the cs-username field is currently selected to be logged. However, the cs-username is always blank in the logs. Anyone have tips on how to determine the cause?

like image 369
james2code Avatar asked Nov 25 '25 00:11

james2code


1 Answers

cs-username knows nothing about ASP.NET / forms authentication, and vice-versa... You have Anonymous access turned on in IIS, yes? That's why there is no cs-username output.

like image 173
Bryan Avatar answered Nov 27 '25 14:11

Bryan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!