VS 2022 & Docker won't start up
See original GitHub issueVS 2022 & Docker won’t start up, what could I be doing wrong?
[19:22:23 FTL] Program terminated unexpectedly (WebStatus)! System.ArgumentException: The path must be absolute. (Parameter ‘root’) at Microsoft.Extensions.FileProviders.PhysicalFileProvider…ctor(String root, ExclusionFilters filters) at Microsoft.Extensions.FileProviders.PhysicalFileProvider…ctor(String root) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.b__1_0(String contentRoot) at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider…ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest) at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration) at Microsoft.AspNetCore.WebHost.<>c.b__9_0(WebHostBuilderContext ctx, IConfigurationBuilder cb) at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors) at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at Program.<
$>g__BuildWebHost|0_0(IConfiguration configuration, String[] args) in C:\BlahBlah\eShopOnContainers\src\Web\WebStatus\Program.cs:line 28 at Program.$(String[] args) in C:\BlahBlah\eShopOnContainers\src\Web\WebStatus\Program.cs:line 8
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
@josephwambura You can double-check on SQL(sqldata) image, it should be up before other services start running so that there are no connectivity issues. Further, you can also follow the instructions on windows-setup updated wiki page for more information. I am closing this issue, however, feel free to continue the conversation or reopen it if you are looking for more help.
Sometimes a failed startup can corrupt the entries in the databases. Can you delete all images and volumes or reset Docker and try again? I tried them on VS 2022, and it works as expected. Wait for the WebStatus project to show all the services healthy, before navigating to the Web Clients. There’s a known issue for the WebSPA app and Visual Studio that we are tracking it here: https://github.com/dotnet-architecture/eShopOnContainers/issues/1821.