Deploying into AWS Elastic beanstalk

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello everybody.
Could somebody help me with a deployment in AWS (Elastic Beanstalk) I've been trying to deploy the code using a VSTS build but nothing has worked. So far this is the only result I have obtained after deploying teh application:

An error occurred while starting the application.
.NET Framework 4.7.2558.0 X86 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452    |    Microsoft Windows 10.0.14393    |   Need help?


Thank you for your help!
6 years ago
I'm running into this same issue.  Were you able to figure it out?
6 years ago
I have other .NET Core apps running on AWS just fine... I think the only difference is that those other apps are .NET Core apps targeted for .NET Core, whereas NopCommerce is a .NET Core app targeted for .NET Framework.
5 years ago
I am having the same issue running on AWS Elastic Beanstalk.

An error occurred while starting the application.
.NET Framework 4.7.2558.0 X86 v4.0.0.0    |   Microsoft.AspNetCore.Hosting version 2.0.0-rtm-26452    |    Microsoft Windows 10.0.14393    |   Need help?
5 years ago
I had some time to troubleshoot this and finally got it working.  If anybody is interested, here's how I fixed it.  Basically, deploying to Elastic Beanstalk via Visual Studio did not deploy all the files.  The problem was missing files and binaries.

Aside from the dataSettings.json file that was missing, all the binaries in the Plugins/bin folder was missing.  Also, the xml file in the App_Data/DataProtectionKeys was also missing.  I RDP's into my EC2 instance and manually copied over the missing files.  Once I did that, the application now works.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.