网奇CMS(Iwms)启用html的模拟静态后出现的错误解决
启用html的模拟静态后 出现的错误:
{”没有为扩展名“.html”注册的生成提供程序。可以在 machine.config 或 web.config 中的 <compilation><buildProviders> 节注册一个。请确保所注册的提供程序具有包含值“Web”或“All”的 BuildProviderAppliesToAttribute 属性。”}
解决方法 在web.config加上
<compilation>
<buildProviders>
<add extension=”.html” type=”System.Web.Compilation.PageBuildProvider” />
</buildProviders>
</compilation>
