我的 IIS 上的每个 Web 服务响应都出现问题。每个 Web 服务的输出都带有奇怪的字符(见下图)。我尝试将 WS 复制到另一台机器,它运行正常。一定是我的机器/IIS 配置出了问题。有人知道问题可能出在哪里吗?
服务响应均如下:
**REQUEST HEADER:**
POST /ERESULTS/Glintths.Shell/Authentication/GetDbDate HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 0
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://localhost
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
Content-Type: application/json; charset=utf-8
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Referer: http://localhost/ERESULTS/Glintths.Shell/Authentication/Login
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: USERUTC=+00:00; MvcLocalization.CurrentUICulture=pt-PT; ASP.NET_SessionId=xv0lx3akeb3dn23noummczhh
**RESPONSE HEADER:**
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/10.0
X-AspNetMvc-Version: 4.0
X-AspNet-Version: 4.0.30319
Set-Cookie: MvcLocalization.CurrentUICulture=pt-PT; expires=Sat, 07-Nov-2020 18:03:14 GMT; path=/
X-Powered-By: ASP.NET
Date: Thu, 07 Nov 2019 18:03:34 GMT
Content-Length: 81920