简体   繁体   English

AWS 错误:启动应用程序时出错

[英]AWS Error: An error occurred while starting the application

I am deploying a .Net Core Web API 2.2 to AWS (Amazon).我正在将 .Net Core Web API 2.2 部署到 AWS(亚马逊)。 The environment of my app is healthy and i am still getting the following error and i know it has to do with the .Net Core Windows hosting on the server.我的应用程序的环境是健康的,但我仍然收到以下错误,我知道这与服务器上的 .Net Core Windows 托管有关。 How do I solve this please?请问我该如何解决?

在此处输入图片说明

Thanks, Somad谢谢,索马德

I first depolyed the .Net Core API app to my local machine.我首先将 .Net Core API 应用程序解压到我的本地机器上。 I got EC2 Windows Server 2019 base installed on AWS Amazon.我在 AWS Amazon 上安装了 EC2 Windows Server 2019 基础。 I have installed .Net Core windows hosting 2.2.8 on the EC2 windows server and finally moved the api deployed file from my local machine to the EC2 windows server.我已经在 EC2 windows 服务器上安装了托管 2.2.8 的 .Net Core windows,最后将 api 部署文件从我的本地机器移动到 EC2 windows 服务器。 Below is a screenshot of the deployed app on the server:下面是在服务器上部署的应用程序的屏幕截图:

在此处输入图片说明

Thanks, Somad谢谢,索马德

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET 5 启动应用程序时出错。 目录未找到异常 - .NET 5 An error occurred while starting the application. DirectoryNotFoundException ASP.NET 5 启动应用程序时出错 - ASP.NET 5 An error occurred while starting the application Azure WebApp无法启动:启动应用程序时出错。 加载配置文件失败 - Azure WebApp not starting: An error occurred while starting the application. Loading profile failed Azure WebApp Asp.NET Core 2 错误:启动应用程序时出错 - Azure WebApp Asp.NET Core 2 error: An error occurred while starting the application 启动应用程序时发生错误。 InvalidOperationException:Scheme 已经存在:Identity.Application - An error occurred while starting the application. InvalidOperationException: Scheme already exists: Identity.Application 发布 dot net core 2 应用程序后启动应用程序时发生错误 - an error occurred while starting the application after publishing dot net core 2 app 启动应用程序时发生错误,一旦我在 IIS 上运行我的 ASP.NET 核心项目 - An error occurred while starting the application, once I run my ASP.NET Core project on IIS 在 SmarterAsp.net WebApplication Asp.NET Core 2.2 中托管时“错误:启动应用程序时发生错误” - " Error: An error occurred while starting the application " while hosting in SmarterAsp.net WebApplication Asp.NET Core 2.2 从Visual Studio 2017发布API应用程序后收到错误消息“启动应用程序时发生错误。” - Getting an error message “An error occurred while starting the application.” after publishing an API app from Visual Studio 2017 ASP.NET Core 1.1 在本地运行良好,但在发布到 Azure 时显示“启动应用程序时出错”。 - ASP.NET Core 1.1 runs fine locally but when publishing to Azure says “An error occurred while starting the application.”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM