1.跨域访问配置
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Credentials" value="true"/>
<add name="Access-Control-Allow-Origin" value="http://192.168.4.30" />
<add name="Access-Control-Allow-Headers" value="token" />
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" />
</customHeaders>
</httpProtocol>
</system.webServer>
2.文件路径包含空格、+导致文件无法访问
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true"></requestFiltering>
</security>
</system.webServer>
3.System.UnauthorizedAccessException: 对路径“C:\Windows\SysWOW64\inetsrvlogs”的访问被拒绝
<system.Web>
<identity impersonate="true" />
<system.Web>