【问题标题】:Azure web app unexpected crashAzure Web 应用程序意外崩溃
【发布时间】:2015-12-28 12:49:22
【问题描述】:

我有一个在 Azure 中运行的 Web 应用程序。当我尝试在 VS 中调试它时,我可以达到 var newResume = new Resume() {JobId = (int)jobid};行(我得到正确的jobid),但随后我得到“服务器错误”并且页面被重定向到错误页面。一切都在本地工作。可能是什么问题?谢谢你的时间

[HttpGet]
public ActionResult Create(int jobid)
{
    var newResume = new Resume() {JobId = jobid};
    return View(newResume);
}

【问题讨论】:

    标签: asp.net visual-studio azure web


    【解决方案1】:

    我修好了。在项目文件视图中没有配置添加

    【讨论】:

      猜你喜欢
      • 2023-03-29
      • 1970-01-01
      • 2018-04-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-16
      • 1970-01-01
      相关资源
      最近更新 更多