【问题标题】:Exception Thrown at Deployment部署时抛出异常
【发布时间】:2013-08-15 17:41:42
【问题描述】:

部署时抛出以下异常。我在 IIS 7 上运行我的应用程序。我尝试循环应用程序池并重新启动应用程序,但没有成功。任何有关故障排除的想法将不胜感激。我怀疑它可能与 .NET 版本控制有关,但这只是猜测。提前致谢!

FullException=" 在 System.Web.UI.TemplateParser.ProcessException(Exception ex) | 在 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) | 在 System.Web.UI.TemplateParser.ParseString( String text, VirtualPath virtualPath, Encoding fileEncoding) | at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) | at System.Web.UI.TemplateParser.Parse() |

【问题讨论】:

    标签: asp.net iis


    【解决方案1】:

    Inherits page 指令是开发中的一个值,但部署时不同时,我已经看到此错误。

    验证您页面的来源(PageName.aspx 以查看 Inherits 名称是否与您其他环境中的类名称匹配)。

    【讨论】:

      猜你喜欢
      • 2012-03-25
      • 2021-11-30
      • 1970-01-01
      • 1970-01-01
      • 2014-12-07
      • 1970-01-01
      • 1970-01-01
      • 2013-05-24
      • 1970-01-01
      相关资源
      最近更新 更多