question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blazor (server-side) System.InvalidOperationException: Received a notification for a rendered batch when not expecting it.

See original GitHub issue

I`ve got an Blazor server-side app deployed as self-contained (dotnet 3.0 preview4) on Azure AppServices. It seems to run fine on simple Pages (counter with additional buttons or the weather forecast displayed in an pageable datagrid), but it dies after 0-5 UI interactions on a more advanced page. In the browser-console the following error occurs and after that error the signalR connection is disconnected (without the automatic reconnection kicking in): grafik

On my local dev maschine no such error occured even once.

To see this error happening open this link to the deployed webApp and click on some button or dropdowns, after some UI interactions the error should occur in the browser console.

If needed the source code for this app is located here.

Same error as reported in this comments: https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-0-preview-4/#comments-367

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
SteveSandersonMScommented, Jun 4, 2019

If I understand correctly, the PR that fixed this (#10506) has been reverted, so this issue should be reopened. Assigning to preview 7.

@pranavkm Please let me know (or just close this) if I’m misunderstanding and this actually is being handled in preview 6 still.

0reactions
OutOfTouchcommented, Jul 9, 2019

@BrennanConroy Great thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Blazor Server - System.InvalidOperationException is ...
I'm developing a application on Blazor Server (.NET 6). This exception occur a lot of times. But this exception occur in each page...
Read more >
Handle errors in ASP.NET Core Blazor apps
The error is logged normally ( System.InvalidOperationException: Current count is too big! ). The exception is handled by the error boundary.
Read more >
ASP.NET Core updates in .NET Core 3.0 Preview 4
To conditionally render different content based on whether the app is currently being prerendered or not use IsConnected property on the ...
Read more >
Error "There is no registered service of type 'DevExpress. ...
NET 6 (Preview 7) with this error message: InvalidOperationException: Cannot provide a value for property 'EnvironmentInfo' on type 'DevExpress.
Read more >
Blazor server statehaschanged. my guess is that the inputs ...
One of our major focuses right now is getting server-side Blazor ready for production usage. It seems that OnInitializedAsync does not allow the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found