Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to figure out which module in Blazor Webassembly client causes the exception

$
0
0

I have a hosted Blazor WebAssembly app with the render mode set to InteractiveAuto. When I start the app, I intermittently (but more often yes than no) get the following exception in the development console:

blazor.web.js:1 ManagedError: One or more errors occurred. (Operation is not supported on this platform.)callEntryPoint @ blazor.web.js:1await in callEntryPointHr @ blazor.web.js:1await in HrFr @ blazor.web.js:1startWebAssemblyIfNotStarted @ blazor.web.js:1resolveRendererIdForDescriptor @ blazor.web.js:1determinePendingOperation @ blazor.web.js:1refreshRootComponents @ blazor.web.js:1(anonymous) @ blazor.web.js:1setTimeoutrootComponentsMayRequireRefresh @ blazor.web.js:1startLoadingWebAssemblyIfNotStarted @ blazor.web.js:1

I have tried everything—commenting out sections in Program.cs, creating a dummy layout without the pages etc.—but nothing helps. What I haven’t tried yet is removing project references (class libraries) from the client project. However, none of the methods in these libraries are being called, and I have also commented out any dependency injection usage of these classes.

I am at a loss for how to figure out what is going on. Any advice would be greatly appreciated. Thank you!


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>