ABP Framework version: v8.0
UI Type: Blazor Server
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): no
Exception message and full stack trace: [15:31:27 ERR] An unhandled exception has occurred while executing the request. System.ArgumentException: The path in 'value' must start with '/'. (Parameter 'value') at Microsoft.AspNetCore.Http.PathString..ctor(String value) at Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase.Content(HttpContext httpContext, String contentPath) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperStyleService.AddHtmlTag(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, BundleFile file, IFileInfo fileInfo) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List
1 bundleItems, String bundleName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService
2.ProcessAsync(TagHelperContext context, TagHelperOutput output) at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, Int32 i, Int32 count) at TravelEngine.Athena.Pages.Pages__Host.<ExecuteAsync>b__17_0() in C:\Dev\VS\TE\TravelEngine.Athena\aspnet-core\src\TravelEngine.Athena.Blazor\Pages_Host.cshtml:line 20Steps to reproduce the issue: I noticed that my launch settings was set to Production after experiencing some certificate issues in dev testing. So I set them back to "Development". I now get the above error when trying to start the Blazor server app.
The line in _Host.html on which this occurs is:
<abp-style-bundle name="@BlazorLeptonXThemeBundles.Styles.Global" />
2 Answer(s)
-
0
-
0
Ok. Thanks. I had added a Blazor component library and there was a leading slash omitted.