在07中出现类似错误时,会去修改iis下面的web.config文件

但10里,你会发现,这么干不管用了?

原因是在layouts的目录下还有一个web.config文件。

里面也有一个

<customErrors mode="On" />

找到它并修改它,

<customErrors mode="Off" />

在刷新页面,

相关文章:

  • 2021-10-11
  • 2022-02-08
  • 2021-08-30
  • 2021-07-27
  • 2021-11-21
猜你喜欢
  • 2021-06-11
  • 2022-02-24
  • 2021-10-11
  • 2021-07-08
相关资源
相似解决方案