Reputation: 1
I have created an echo bot from echo bot builder sdk4 as instructed on https://learn.microsoft.com/en-us/azure/bot-service/dotnet/bot-builder-dotnet-sdk-quickstart?view=azure-bot-service-4.0
It works fine locally. But when I publish it, it gives the following error. "An error occurred while starting the application. .NET Core 4.6.26919.02 X86 v4.0.0.0 | Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846 | Microsoft Windows 10.0.14393 | Need help?"
I don't know what is wrong. My .NET Core version is 2.1.
Upvotes: 0
Views: 2675
Reputation: 1
I have created same bot from Azure. Echo bot as it asked me. Since, it is made on Azure, it has all other files, like web.config. This one can be downloaded. Then, I can amend it. After that, I can publish it again. So, all is fine in that way. I also got the response from Microsoft team. Check it here. https://github.com/MicrosoftDocs/bot-docs/issues/494
Upvotes: 0
Reputation: 58991
You can enable logging to see whats happening:
Go to the Kudu environment (https://YOURSITE.scm.azurewebsites.net)
On the top menu, select Debug console -> PowerShell
Read more here: Determine whats wrong with your Azure Web / API App deployment
Upvotes: 1
Reputation: 789
First of all set log folder on the Azure server and find issue with more details or add ASPNETCORE_DETAILEDERRORS = true
in app settings of your app. then restart
Extra :There is a nice set of troubleshooting and analysis tools for use with Microsoft Azure Web Apps (formerlly Web Sites) called KUDU. Information about that tool set can be found here.
It is useful for capturing a memory dump , deployment logs, viewing configuration parameters and much
Upvotes: 1