How to solve this error "Headers are read-only, response has already started" #4416
-
I used some of the code on blazor in the csla 8.2.8 source code sample to create my own blazor server program. In this program I just add a page editperson, and when it runs it always says "Headers are read-only, response has already started".I find that errors always appear when I use vm.RefreshAsync. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Please show the edit person create method. It looks like there is an await missing on the server side part. |
Beta Was this translation helpful? Give feedback.
-
This is almost certainly a configuration issue in |
Beta Was this translation helpful? Give feedback.
You shouldn't need to reconfigure the project - just the original home/landing page. Make sure it isn't rendered as an interactive page.
You are using per-component render mode, so only pages you mark with the rendermode element will be interactive.