Repository navigation
Error: The list of component records is not valid -Integrate Razor components into Razor Pages #18663
Replies: 7 comments
|
Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project (ideally a GitHub repo) that illustrates the problem. |
|
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. See our Issue Management Policies for more information. |
|
Hi, Also I have tried adding new razor component with counter button on it in my existing application and that is also working fine. I'm not sure what's preventing third party components from working. I can see the table displaying list of person data but when i click on that table column for sorting,filtering,paging ,it is not working.
I refereed below link but still no luck. I can't really share the entire project. It's a big large and has customized business logic in it already, along with API keys and other sensitive information. Thank you |
|
Hello, @shitalumare -- there's quite a few different components being integrated in this application so it is difficult to see where the error is without a reproduction. The exception message you see ("The list of component records is not valid.") can happen for a couple of reasons:
Some follow-ups:
|
|
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate. See our Issue Management Policies for more information. |
|
this also happen for me too, when I put form.cshtml as following at the same time |
|
more, when I use normal form inside form.cshtml, so, my guess (not dive to source code), the key is pyramid. ( which is similar to #14474 ? ) |
Uh oh!
There was an error while loading. Please reload this page.
My issue is :
I have Integrated Razor components into my existing aspnet core 3.1 Razor Pages application.
I am working in a new ASP.NET Core 3.1 With Razor Pages application and I want to use third party Blazor components in it but I'm having trouble getting it to work.
I have referred below documents to inegrate
https://docs.microsoft.com/en-us/aspnet/core/blazor/hosting-models?view=aspnetcore-3.1
and made changes to below files :
but I am getting below error on console and paging sorting and filtering not working.
[2020-01-29T17:12:31.832Z] Information: Normalizing '_blazor' to 'https://localhost:44349/_blazor'.
blazor.server.js:1 [2020-01-29T17:12:31.961Z] Information: WebSocket connected to wss://localhost:44349/_blazor?id=oHqH7sh9smO7nwc6aI0Kqw.
blazor.server.js:1 [2020-01-29T17:12:31.962Z] Information: Using HubProtocol 'blazorpack'.
blazor.server.js:15 [2020-01-29T17:12:32.026Z] Error: The list of component records is not valid.
e.log @ blazor.server.js:15
blazor.server.js:1 [2020-01-29T17:12:32.027Z] Information: Connection disconnected.
blazor.server.js:1 Uncaught (in promise) Error: Invocation canceled due to the underlying connection being closed.
at e.connectionClosed (blazor.server.js:1)
at e.connection.onclose (blazor.server.js:1)
at e.stopConnection (blazor.server.js:1)
at e.transport.onclose (blazor.server.js:1)
at e.close (blazor.server.js:1)
at e.stop (blazor.server.js:1)
at e. (blazor.server.js:1)
at blazor.server.js:1
at Object.next (blazor.server.js:1)
at a (blazor.server.js:1)
All reactions