Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectDisposedException: Cannot access a closed Stream #17

Open
doanhquang2005 opened this issue Jun 27, 2021 · 2 comments
Open

ObjectDisposedException: Cannot access a closed Stream #17

doanhquang2005 opened this issue Jun 27, 2021 · 2 comments

Comments

@doanhquang2005
Copy link

I use "Toolbelt.Blazor.HeadElement.ServerPrerendering" error:
An unhandled exception occurred while processing the request.
ObjectDisposedException: Cannot access a closed Stream.
System.IO.MemoryStream.Seek(long offset, SeekOrigin loc)

Stack Query Cookies Headers Routing
ObjectDisposedException: Cannot access a closed Stream.
System.IO.MemoryStream.Seek(long offset, SeekOrigin loc)
Toolbelt.Blazor.HeadElement.Middlewares.HeadElementServerPrerenderingMiddleware.InvokeAsync(HttpContext context, IHeadElementHelperStore store)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Hope the author helps to fix this error! Thanks,

@doanhquang2005 doanhquang2005 changed the title ObjectDisposedException: Cannot access a closed Stream. ObjectDisposedException: Cannot access a closed Stream Jun 27, 2021
@jsakamoto
Copy link
Owner

@doanhquang2005 Please tell me what your Startup.cs code is.

@jsakamoto
Copy link
Owner

@doanhquang2005 I could not reproduce your issue yet.
Could you attach all files of a sample project which can reproduce that issue as a single zip package to this thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants