Posted 2 June 2023, 1:26 am EST - Updated 2 June 2023, 2:15 am EST
Following this blog post:
https://www.grapecity.com/blogs/make-a-web-reporting-app-using-blazor-reporting-tool-microservices
I set up the server and then the web assembly project exactly in the blog post.
When I navigate to the report viewing page I receive the following error:
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Failed to fetch dynamically imported module: https://localhost:7231/_content/GrapeCity.ActiveReports.Blazor.Viewer/viewerWrapper.js
TypeError: Failed to fetch dynamically imported module: https://localhost:7231/_content/GrapeCity.ActiveReports.Blazor.Viewer/viewerWrapper.js
Microsoft.JSInterop.JSException: Failed to fetch dynamically imported module: https://localhost:7231/_content/GrapeCity.ActiveReports.Blazor.Viewer/viewerWrapper.js
TypeError: Failed to fetch dynamically imported module: https://localhost:7231/_content/GrapeCity.ActiveReports.Blazor.Viewer/viewerWrapper.js
at Microsoft.JSInterop.JSRuntime.<InvokeAsync>d__16`1[[Microsoft.JSInterop.IJSObjectReference, Microsoft.JSInterop, Version=6.0.0.0, Culture=neutral, PublicKeyToken=****************]].MoveNext()
at GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Render(IJSRuntime jSRuntime, String element, InitializationOptions options)
at GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)