• DNN出错:The compiler failed with error code 1.


    今天接手一个DNN网站,DNN网站的很多模块和管理功能页面都报这个错:

    Content is currently unavailable Error

    参考DNN调试利器DNNDebug.aspx--如何调试出错信息不具体的程序错误 尝试排除错误时又出现这个报错:


    The compiler failed with error code 1 Error

    报告编译出错,出错代码为“1”,从这些出错信息来看很难知道是哪里出问题了。

    Google一番后,初步估计是IIS的问题,ASP.NET的编译机制无法正常工作。删除

    %WINDOWS%\Microsoft.NET\Framework"v2.0.50727\Temporary ASP.Net Files 目录下临时文件,在web.config文件中加入一个空格,强迫DNN重启并重新编译网站。一些恢复正常。

    关于Temporary ASP.Net Files目录,详细情况请参考:http://www.cnblogs.com/suiqirui19872005/archive/2007/05/14/746320.aspx

     http://msdn.microsoft.com/en-us/magazine/cc163496.aspx

    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
  • 相关阅读:
    SpringMVC中静态获取request对象 Spring中获取 HttpServletRequest对象【转载】
    springcloud 的loadbalancer 轮询算法切换方法 2021.4.3
    springboot项目启动增加图标
    rabbitmq 端口作用以及修改方法
    centos8 安装rabbitmq
    springcloud config client Value获取不到信息的问题的处理方法
    springcloud config配置git作为数据源然后启动报错 If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    Sublime Text的列模式如何操作
    centos8 安装redis
    jQuery简单的Ajax调用
  • 原文地址:https://www.cnblogs.com/DotNetNuke/p/1275594.html
Copyright © 2020-2023  润新知