1

我下载 Kudu 项目以通过 Git 在 IIS 上部署,我已经关注了这篇文章https://github.com/projectkudu/kudu/wiki/Getting-started

但是当我尝试创建应用程序选项时,它永远不会结束处理请求。

我在Visual Studio上调试项目,发现下一句就失败了:

Namespace Kudu.SiteManagement
Class SiteManager
Method CreateSiteAsync

// Wait for the site to start
await OperationManager.AttemptAsync(() => WaitForSiteAsync(serviceUrls[0]));

并将其发送到 catch 块并执行下一个,即永远不会结束的部分。

catch
{
  try
  {
      DeleteSiteAsync(applicationName).Wait();
  }
  catch
  {
      // Don't let it throw if we're unable to delete a failed creation.
  }
  throw;
}

我尝试授予应用程序文件夹的读/写权限但没有成功。

4

0 回答 0