在IIS里修改web.config,增加下面一行设置就可以解决问题。

<PageParserPaths>
   <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
</PageParserPaths> 

 

 http://verytiny.iteye.com/blog/506077

相关文章:

  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2021-08-10
  • 2021-10-14
  • 2021-04-26
  • 2021-12-13
  • 2021-07-21
猜你喜欢
  • 2021-11-17
  • 2021-10-02
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案