Windows 的IIS 用的很少,最近用了一个aspx.net的项目遇到了一些问题。部署完成后打开.aspx的页面直接变成下载。下面给出正确的解决方案:
在服务器 cmd下执行
C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis.exe -r C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis.exe -i
');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image :where(.has-border-color){border-style:solid}.wp-block-image :where([style*=border-top-color]){border-top-style:solid}.wp-block-image :where([style*=border-right-color]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-color]){border-left-style:solid}.wp-block-image :where([style*=border-width]){border-style:solid}.wp-block-image :where([style*=border-top-width]){border-top-style:solid}.wp-block-image :where([style*=border-right-width]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-width]){border-left-style:solid}.wp-block-image figure{margin:0}/*]]>*/
Windows 的IIS 用的很少,最近用了一个aspx.net的项目遇到了一些问题。部署完成后打开.aspx的页面直接变成下载。下面给出正确的解决方案:
在服务器 cmd下执行
C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis.exe -r C:WindowsMicrosoft.NETFramework64v4.0.30319aspnet_regiis.exe -i
作者:
标签