在你applicationhost.config(图上可以找到路径)的handler节里添加
<add name="HTML-ISAPI-4.0_32bit" path="*.html" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
希望可以帮到您
转载请注明原文地址: https://www.6miu.com/read-2300111.html