簡體   English   中英

How to deploy Asp.net web forms website to Azure Web App service using Azure DevOps?

[英]How to deploy Asp.net web forms website to Azure Web App service using Azure DevOps?

Want to deploy Asp.net web forms website to Azure Web App service using Azure DevOps. 項目中的所有文件都被復制到工件中。 將該工件部署到 Azure Web 應用服務時,出現以下問題:

You do not have permission to view this directory or page.

You do not have permission to view this directory or page 此錯誤可能由多種原因引起。

可能是某些代碼文件未包含在部署到 Azure Web 應用服務的工件中。 或者工件被部署到錯誤的位置而不是wwwroot/

因此,您可以登錄 kudu 服務器(打開<your_web_app_name>.scm.azurewebsites.net )檢查工件是否在正確的位置以及所有文件是否已上傳。

也可能是您的 Azure 網站中沒有默認頁面。 您可以在 Azure 門戶的 appsetting 中添加默認頁面並將其設置為默認頁面。

這也可能是應用程序權限問題。 嘗試重新添加委托權限。

查看此線程了解更多信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM