Hi, thanks for reaching out. This question has been asked before and suggestions are provided here, please check it out.
Bot Framework Composer "Failed Error in Start bot"
Hi,
I am new to Composer. I am following this tutorial: "https://learn.microsoft.com/en-us/composer/quickstart-create-bot?tabs=v2x".
An error occurred in section "Test your bot". After when I pressed "Start bot", a "Failed" message appeared in status output.
My environment and the error message is printed below. I appreciate anyone that can help me to solve this issue. Many thanks in advance!
My env:
.NET Core SDK (reflecting any global.json):
Version: 3.1.412
Commit: 751fd182ef
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /snap/dotnet-sdk/136/sdk/3.1.412/
Host (useful for support):
Version: 3.1.18
Commit: 5d3919d34e
.NET Core SDKs installed:
3.1.412 [/snap/dotnet-sdk/136/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.18 [/snap/dotnet-sdk/136/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.18 [/snap/dotnet-sdk/136/shared/Microsoft.NETCore.App]
Error message in output:
/home/chho1229/BotFrameworkComposer/Menu_bot_1/Menu_bot_1/Menu_bot_1.csproj : warning NU1701: Package 'Microsoft.Azure.KeyVault.Core 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
/home/chho1229/BotFrameworkComposer/Menu_bot_1/Menu_bot_1/Menu_bot_1.csproj : warning NU1701: Package 'Microsoft.Azure.KeyVault.Core 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
Error occurred building the bot
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. at System.Environment.FailFast(System.String) at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode() at System.Globalization.GlobalizationMode..cctor() at System.Globalization.CultureData.CreateCultureWithInvariantData() at System.Globalization.CultureData.get_Invariant() at System.Globalization.CultureInfo..cctor() at System.StringComparer..cctor() at System.StringComparer.get_OrdinalIgnoreCase() at Microsoft.Extensions.Configuration.ConfigurationProvider..ctor() at Microsoft.Extensions.Configuration.EnvironmentVariables.EnvironmentVariablesConfigurationSource.Build(Microsoft.Extensions.Configuration.IConfigurationBuilder) at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build() at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder..ctor(Microsoft.Extensions.Hosting.IHostBuilder) at Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions.ConfigureWebHost(Microsoft.Extensions.Hosting.IHostBuilder, System.Action1<Microsoft.AspNetCore.Hosting.IWebHostBuilder>) at Microsoft.Extensions.Hosting.GenericHostBuilderExtensions.ConfigureWebHostDefaults(Microsoft.Extensions.Hosting.IHostBuilder, System.Action
1<Microsoft.AspNetCore.Hosting.IWebHostBuilder>) at Menu_bot_1.Program.CreateHostBuilder(System.String[]) at Menu_bot_1.Program.Main(System.String[])