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

Uncaught (in promise) RuntimeError: memory access out of bounds #25449

Closed
scung-cn opened this issue Aug 31, 2020 · 2 comments
Closed

Uncaught (in promise) RuntimeError: memory access out of bounds #25449

scung-cn opened this issue Aug 31, 2020 · 2 comments
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved

Comments

@scung-cn
Copy link

Describe the bug

Now, I want to use blazor framework to upload a picture file, but I cannot find a nice official component. So I use Javascript to read a file to a base64 string, I encountered an error :when the size of my uploaded file exceeds 200kb, the browser will prompt Uncaught (in promise) RuntimeError: memory access out of bounds

Further technical details

  • ASP.NET Core version 3.1
  • VS 16.7.2
@pranavkm pranavkm added the area-blazor Includes: Blazor, Razor Components label Aug 31, 2020
@mkArtakMSFT
Copy link
Member

Thanks for contacting us, @sbchong.
We have added a new InputFile component in Blazor in RC1 which will help you avoid all the JSInterop.

@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. label Aug 31, 2020
@ghost ghost added the Status: Resolved label Aug 31, 2020
@mkArtakMSFT
Copy link
Member

#12205

@ghost ghost locked as resolved and limited conversation to collaborators Sep 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants