IIS 7 and Above
s-port field value is showing as the wrong type
Last post Dec 04, 2017 07:32 AM by Yuk Ding
Dec 01, 2017 01:06 AM|jamesv|LINK
Hi all, I am hoping someone has come across this and can potentially help because I am at a loss.
I have a situation where Advanced Logging was installed on a few servers with IIS 7.5. Everything is seemingly fine with the exception of the s-port value.. For some unknown reason on this batch of servers the server port is being displayed as a signed
int or something.
Say the bindings for the site are *:54322:, the associated value in the logs would be -11213.. which incidentally is
2^16 + 54322
or in PowerShell
(54322 - [int]0xFFFF)
I have validated in the applicationhost.config that the type is correct.. it shows as TypeUInt16.. The make things even stranger..
A bunch of other servers that were configured at the same time and have the same IIS version aren't exhibiting the error.
Anyone have any ideas?
Dec 01, 2017 05:55 AM|Yuk Ding|LINK
I didn't find any similar case like this issue. I also tried to open the log file with different encoding and check the httplogging section from configuration editor. But I didn't find any solution inside the IIS. I assume the issue is caused by your local
system region configuration. Please open the control panel->clock,language,and region->region->additional settings. Please check the configurations or click reset. In addition, maybe you could try to reinstall IIS completely.
Dec 01, 2017 04:24 PM|jamesv|LINK
I tried to reset the regional settings, but there was no change.. Also this seems to only be an advanced logging issue.. if I enable standard logging the s-port field is represented correctly.. So I am reticent to try and remove and reinstall IIS. Is it
time to open a case with Microsoft?
Dec 04, 2017 07:32 AM|Yuk Ding|LINK
Maybe you could just open a support case from Microsoft.